Fossil SCM

The windows test macro is "_WIN32" without a trailing "_".

drh 2017-08-12 18:22 trunk
Commit 49ae1785a6149c80b62715081e0178fd901686056fede5206423cf534e195cb6
1 file changed +1 -1
+1 -1
--- src/blob.c
+++ src/blob.c
@@ -1188,11 +1188,11 @@
11881188
int i;
11891189
char c;
11901190
int needEscape = 0;
11911191
int n = blob_size(pBlob);
11921192
char *z = blob_buffer(pBlob);
1193
-#if defined(_WIN32_)
1193
+#if defined(_WIN32)
11941194
const char cQuote = '"'; /* Use "..." quoting on windows */
11951195
#else
11961196
const char cQuote = '\''; /* Use '...' quoting on unix */
11971197
#endif
11981198
11991199
--- src/blob.c
+++ src/blob.c
@@ -1188,11 +1188,11 @@
1188 int i;
1189 char c;
1190 int needEscape = 0;
1191 int n = blob_size(pBlob);
1192 char *z = blob_buffer(pBlob);
1193 #if defined(_WIN32_)
1194 const char cQuote = '"'; /* Use "..." quoting on windows */
1195 #else
1196 const char cQuote = '\''; /* Use '...' quoting on unix */
1197 #endif
1198
1199
--- src/blob.c
+++ src/blob.c
@@ -1188,11 +1188,11 @@
1188 int i;
1189 char c;
1190 int needEscape = 0;
1191 int n = blob_size(pBlob);
1192 char *z = blob_buffer(pBlob);
1193 #if defined(_WIN32)
1194 const char cQuote = '"'; /* Use "..." quoting on windows */
1195 #else
1196 const char cQuote = '\''; /* Use '...' quoting on unix */
1197 #endif
1198
1199

Keyboard Shortcuts

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