File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,32 @@ void *alloca(size_t);
107
107
# endif
108
108
#endif
109
109
110
+
111
+ #ifdef SDL_WIKI_DOCUMENTATION_SECTION
112
+
113
+ /* *
114
+ * Don't let SDL use "long long" C types.
115
+ *
116
+ * SDL will define this if it believes the compiler doesn't understand
117
+ * the "long long" syntax for C datatypes. This can happen on older compilers.
118
+ *
119
+ * If _your_ compiler doesn't support "long long" but SDL doesn't know it, it
120
+ * is safe to define this yourself to build against the SDL headers.
121
+ *
122
+ * If this is defined, it will remove access to some C runtime support
123
+ * functions, like SDL_ulltoa and SDL_strtoll that refer to this datatype
124
+ * explicitly. The rest of SDL will still be available.
125
+ *
126
+ * SDL's own source code cannot be built with a compiler that has this defined,
127
+ * for various technical reasons.
128
+ */
129
+ #define SDL_NOLONGLONG 1
130
+
131
+ #elif defined(_MSC_VER) && (_MSC_VER < 1310) /* long long introduced in Visual Studio.NET 2003 */
132
+ # define SDL_NOLONGLONG 1
133
+ #endif
134
+
135
+
110
136
#ifdef SDL_WIKI_DOCUMENTATION_SECTION
111
137
112
138
/* *
You can’t perform that action at this time.
0 commit comments