We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b57226 commit 0578185Copy full SHA for 0578185
src/types.hpp
@@ -200,7 +200,9 @@ namespace kanzi
200
typedef uint64_t uint64;
201
}
202
203
- #if defined(WIN32) || defined(_WIN32) || defined(_WIN64)
+ #if defined(__MINGW32__)
204
+ #define PATH_SEPARATOR '/'
205
+ #elif defined(WIN32) || defined(_WIN32) || defined(_WIN64)
206
#define PATH_SEPARATOR '\\'
207
#else
208
#define PATH_SEPARATOR '/'
@@ -209,10 +211,8 @@ namespace kanzi
209
211
210
212
#if defined(_MSC_VER)
213
#define ALIGNED_(x) __declspec(align(x))
- #else
- #if defined(__GNUC__)
214
- #define ALIGNED_(x) __attribute__ ((aligned(x)))
215
- #endif
+ #elif defined(__GNUC__)
+ #define ALIGNED_(x) __attribute__ ((aligned(x)))
216
#endif
217
218
0 commit comments