Fossil

Diff
Login

Differences From Artifact [531a34adf5]:

To Artifact [8c2e32a530]:


63
64
65
66
67
68
69
70
71
72



73
74
75
76
77
78
79
80
81
82
83
84
85
86
87



88

89




90







91
92
93



94

95
96
97
98
99
100
101
63
64
65
66
67
68
69



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90

91
92
93
94
95
96

97
98
99
100
101
102
103
104
105
106
107
108
109

110
111
112
113
114
115
116
117







-
-
-
+
+
+















+
+
+
-
+

+
+
+
+
-
+
+
+
+
+
+
+



+
+
+
-
+







# include <signal.h>
# include <pwd.h>
#endif

/*
** Utility macro to wrap an argument with double quotes.
*/
#if !defined(COMPILER_NAME_STRINGIFY)
#  define COMPILER_NAME_STRINGIFY(x)  COMPILER_NAME_STRINGIFY1(x)
#  define COMPILER_NAME_STRINGIFY1(x) #x
#if !defined(COMPILER_STRINGIFY)
#  define COMPILER_STRINGIFY(x)  COMPILER_STRINGIFY1(x)
#  define COMPILER_STRINGIFY1(x) #x
#endif

/*
** Define the compiler variant, used to compile the project
*/
#if !defined(COMPILER_NAME)
#  if defined(__DMC__)
#    define COMPILER_NAME "dmc"
#  elif defined(__POCC__)
#    if defined(_M_X64)
#      define COMPILER_NAME "pellesc64"
#    else
#      define COMPILER_NAME "pellesc32"
#    endif
#  elif defined(_MSC_VER)
#    if !defined(COMPILER_VERSION)
#      define COMPILER_VERSION COMPILER_STRINGIFY(_MSC_VER)
#    endif
#    define COMPILER_NAME "msc-" COMPILER_NAME_STRINGIFY(_MSC_VER)
#    define COMPILER_NAME "msc-" COMPILER_VERSION
#  elif defined(__MINGW32__)
#    if defined(__GNUC__) && defined(__VERSION__)
#      if !defined(COMPILER_VERSION)
#        define COMPILER_VERSION COMPILER_STRINGIFY(__MINGW32_VERSION) "-gcc-" __VERSION__
#      endif
#    define COMPILER_NAME "mingw32-" COMPILER_NAME_STRINGIFY(__MINGW32_VERSION)
#      define COMPILER_NAME "mingw32-" COMPILER_VERSION
#    else
#      if !defined(COMPILER_VERSION)
#        define COMPILER_VERSION COMPILER_STRINGIFY(__MINGW32_VERSION)
#      endif
#      define COMPILER_NAME "mingw32-" COMPILER_VERSION
#    endif
#  elif defined(_WIN32)
#    define COMPILER_NAME "win32"
#  elif defined(__GNUC__)
#    if !defined(COMPILER_VERSION)
#      define COMPILER_VERSION __VERSION__
#    endif
#    define COMPILER_NAME "gcc-" __VERSION__
#    define COMPILER_NAME "gcc-" COMPILER_VERSION
#  else
#    define COMPILER_NAME "unknown"
#  endif
#endif

#if !defined(_RC_COMPILE_) && !defined(SQLITE_AMALGAMATION)