Fossil SCM

added comment to compile variant definition, added missing pellesC ifdef

wolfgang 2010-09-30 14:30 wolfgangFormat2CSS_2
Commit 12eb50d1346ab7613eab92a1c150d86db90ee4b8
--- src/config.h
+++ src/config.h
@@ -53,10 +53,13 @@
5353
# include <pwd.h>
5454
#endif
5555
5656
#endif
5757
58
+/*
59
+** Define the compiler variant, used to compile the project
60
+*/
5861
#if !defined(COMPILE_VARIANT)
5962
# if defined(__MINGW32__)
6063
# define COMPILE_VARIANT "mingw32"
6164
# elif defined(__DMC__)
6265
# define COMPILE_VARIANT "dmc"
6366
--- 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
--- src/makeheaders.c
+++ src/makeheaders.c
@@ -13,11 +13,11 @@
1313
#include <stdlib.h>
1414
#include <ctype.h>
1515
#include <memory.h>
1616
#include <sys/stat.h>
1717
#include <assert.h>
18
-#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER)
18
+#if defined( __MINGW32__) || defined(__DMC__) || defined(_MSC_VER) || defined(__POCC__)
1919
# ifndef WIN32
2020
# define WIN32
2121
# endif
2222
# include <string.h>
2323
#else
2424
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button