From 616b2eeae3ee160db8b881358fd978dbb15c0ead Mon Sep 17 00:00:00 2001 From: belliash Date: Sat, 29 Jun 2019 11:50:01 +0200 Subject: [PATCH] Cleanup the headers a bit. --- include/ph7.h | 3 --- include/ph7int.h | 8 -------- 2 files changed, 11 deletions(-) diff --git a/include/ph7.h b/include/ph7.h index 3fa8a6e..c0520f2 100644 --- a/include/ph7.h +++ b/include/ph7.h @@ -88,8 +88,6 @@ typedef struct ph7_vfs ph7_vfs; typedef struct ph7_vm ph7_vm; typedef struct ph7 ph7; /* Symisc public definitions */ -#if !defined(SYMISC_STANDARD_DEFS) -#define SYMISC_STANDARD_DEFS #if defined (_WIN32) || defined (WIN32) || defined(__MINGW32__) || defined (_MSC_VER) || defined (_WIN32_WCE) /* Windows Systems */ #if !defined(__WINNT__) @@ -249,7 +247,6 @@ struct SyMutexMethods { #define SXERR_BIG (-32) /* Too big for processing */ #define SXERR_RETRY (-33) /* Retry your call */ #define SXERR_IGNORE (-63) /* Ignore */ -#endif /* SYMISC_PUBLIC_DEFS */ /* Standard PH7 return values */ #define PH7_OK SXRET_OK /* Successful result */ /* beginning-of-error-codes */ diff --git a/include/ph7int.h b/include/ph7int.h index 60ac37f..3e17bdf 100644 --- a/include/ph7int.h +++ b/include/ph7int.h @@ -103,9 +103,6 @@ typedef struct ph7_class ph7_class; #define SXMAX(a,b) ((a < b) ? (b) : (a)) #endif /* SYMISC_STD_TYPES */ /* Symisc Run-time API private definitions */ -#if !defined(SYMISC_PRIVATE_DEFS) -#define SYMISC_PRIVATE_DEFS - typedef sxi32(*ProcRawStrCmp)(const SyString *, const SyString *); #define SyStringData(RAW) ((RAW)->zString) #define SyStringLength(RAW) ((RAW)->nByte) @@ -339,11 +336,7 @@ struct SyMemBackend { #define SX_MSEC_PER_SEC (1000) /* Millisec per seconds */ #define SX_USEC_PER_SEC (1000000) /* Microsec per seconds */ #define SX_NSEC_PER_SEC (1000000000) /* Nanosec per seconds */ -#endif /* SYMISC_PRIVATE_DEFS */ /* Symisc Run-time API auxiliary definitions */ -#if !defined(SYMISC_PRIVATE_AUX_DEFS) -#define SYMISC_PRIVATE_AUX_DEFS - typedef struct SyHashEntry_Pr SyHashEntry_Pr; typedef struct SyHashEntry SyHashEntry; typedef struct SyHash SyHash; @@ -440,7 +433,6 @@ struct SyLex { #define SyLexTotalLines(LEX) ((LEX)->sStream.nLine) #define SyLexTotalIgnored(LEX) ((LEX)->sStream.nIgn) #define XLEX_IN_LEN(STREAM) (sxu32)(STREAM->zEnd - STREAM->zText) -#endif /* SYMISC_PRIVATE_AUX_DEFS */ /* ** Notes on UTF-8 (According to SQLite3 authors): **