Fossil SCM
added comment to compile variant definition, added missing pellesC ifdef
Commit
12eb50d1346ab7613eab92a1c150d86db90ee4b8
Parent
dd3bf669e871856…
2 files changed
+3
+1
-1
+3
| --- src/config.h | ||
| +++ src/config.h | ||
| @@ -53,10 +53,13 @@ | ||
| 53 | 53 | # include <pwd.h> |
| 54 | 54 | #endif |
| 55 | 55 | |
| 56 | 56 | #endif |
| 57 | 57 | |
| 58 | +/* | |
| 59 | +** Define the compiler variant, used to compile the project | |
| 60 | +*/ | |
| 58 | 61 | #if !defined(COMPILE_VARIANT) |
| 59 | 62 | # if defined(__MINGW32__) |
| 60 | 63 | # define COMPILE_VARIANT "mingw32" |
| 61 | 64 | # elif defined(__DMC__) |
| 62 | 65 | # define COMPILE_VARIANT "dmc" |
| 63 | 66 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -53,10 +53,13 @@ | |
| 53 | # include <pwd.h> |
| 54 | #endif |
| 55 | |
| 56 | #endif |
| 57 | |
| 58 | #if !defined(COMPILE_VARIANT) |
| 59 | # if defined(__MINGW32__) |
| 60 | # define COMPILE_VARIANT "mingw32" |
| 61 | # elif defined(__DMC__) |
| 62 | # define COMPILE_VARIANT "dmc" |
| 63 |
| --- src/config.h | |
| +++ src/config.h | |
| @@ -53,10 +53,13 @@ | |
| 53 | # include <pwd.h> |
| 54 | #endif |
| 55 | |
| 56 | #endif |
| 57 | |
| 58 | /* |
| 59 | ** Define the compiler variant, used to compile the project |
| 60 | */ |
| 61 | #if !defined(COMPILE_VARIANT) |
| 62 | # if defined(__MINGW32__) |
| 63 | # define COMPILE_VARIANT "mingw32" |
| 64 | # elif defined(__DMC__) |
| 65 | # define COMPILE_VARIANT "dmc" |
| 66 |
+1
-1
| --- src/makeheaders.c | ||
| +++ src/makeheaders.c | ||
| @@ -13,11 +13,11 @@ | ||
| 13 | 13 | #include <stdlib.h> |
| 14 | 14 | #include <ctype.h> |
| 15 | 15 | #include <memory.h> |
| 16 | 16 | #include <sys/stat.h> |
| 17 | 17 | #include <assert.h> |
| 18 | -#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) | |
| 18 | +#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) | |
| 19 | 19 | # ifndef WIN32 |
| 20 | 20 | # define WIN32 |
| 21 | 21 | # endif |
| 22 | 22 | # include <string.h> |
| 23 | 23 | #else |
| 24 | 24 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -13,11 +13,11 @@ | |
| 13 | #include <stdlib.h> |
| 14 | #include <ctype.h> |
| 15 | #include <memory.h> |
| 16 | #include <sys/stat.h> |
| 17 | #include <assert.h> |
| 18 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) |
| 19 | # ifndef WIN32 |
| 20 | # define WIN32 |
| 21 | # endif |
| 22 | # include <string.h> |
| 23 | #else |
| 24 |
| --- src/makeheaders.c | |
| +++ src/makeheaders.c | |
| @@ -13,11 +13,11 @@ | |
| 13 | #include <stdlib.h> |
| 14 | #include <ctype.h> |
| 15 | #include <memory.h> |
| 16 | #include <sys/stat.h> |
| 17 | #include <assert.h> |
| 18 | #if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__) |
| 19 | # ifndef WIN32 |
| 20 | # define WIN32 |
| 21 | # endif |
| 22 | # include <string.h> |
| 23 | #else |
| 24 |