summaryrefslogtreecommitdiff
path: root/dev-db/sqlitebrowser/files/sqlitebrowser-3.12.2-str-conflict-fix.patch
blob: 07284ca8ba0cd63b5461f37f4ab4a2805ab4c32e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/version.h
+++ b/src/version.h
@@ -4,8 +4,8 @@
 #define MINOR_VERSION 12
 #define PATCH_VERSION 2
 
-#define str(s) #s
-#define xstr(s) str(s)
+#define stringize(s) #s
+#define xstr(s) stringize(s)
 #define APP_VERSION xstr(MAJOR_VERSION) "." xstr(MINOR_VERSION) "." xstr(PATCH_VERSION)
 
 // If it is defined by the compiler, then it is a nightly build, and in the YYYYMMDD format.