Fossil SCM

Teach config.h to recognize Sun's C compiler.

edward 2013-06-06 06:31 trunk
Commit 57b585276b8b9c42cfcb6694898aac707c2dcc9b
1 file changed +2
--- src/config.h
+++ src/config.h
@@ -77,10 +77,12 @@
7777
# define COMPILER_NAME "mingw32"
7878
# elif defined(_WIN32)
7979
# define COMPILER_NAME "win32"
8080
# elif defined(__GNUC__)
8181
# define COMPILER_NAME "gcc-" __VERSION__
82
+# elif defined(__SUNPRO_C)
83
+# define COMPILER_NAME "Sun C"
8284
# else
8385
# define COMPILER_NAME "unknown"
8486
# endif
8587
#endif
8688
8789
--- src/config.h
+++ src/config.h
@@ -77,10 +77,12 @@
77 # define COMPILER_NAME "mingw32"
78 # elif defined(_WIN32)
79 # define COMPILER_NAME "win32"
80 # elif defined(__GNUC__)
81 # define COMPILER_NAME "gcc-" __VERSION__
 
 
82 # else
83 # define COMPILER_NAME "unknown"
84 # endif
85 #endif
86
87
--- src/config.h
+++ src/config.h
@@ -77,10 +77,12 @@
77 # define COMPILER_NAME "mingw32"
78 # elif defined(_WIN32)
79 # define COMPILER_NAME "win32"
80 # elif defined(__GNUC__)
81 # define COMPILER_NAME "gcc-" __VERSION__
82 # elif defined(__SUNPRO_C)
83 # define COMPILER_NAME "Sun C"
84 # else
85 # define COMPILER_NAME "unknown"
86 # endif
87 #endif
88
89

Keyboard Shortcuts

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