aboutsummaryrefslogtreecommitdiff
path: root/sokol_args.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-11-28 16:49:56 +0100
committerAndre Weissflog <floooh@gmail.com>2020-11-28 16:49:56 +0100
commitd54c14c171732f30fbb3cbeb8efd75b8389d22f8 (patch)
tree5640840053a8459f8f5aa88cbe836993bc4ebf37 /sokol_args.h
parent8135988629e1a0df4394201284886b038fa8bc5c (diff)
move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guard
Diffstat (limited to 'sokol_args.h')
-rw-r--r--sokol_args.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_args.h b/sokol_args.h
index b7496ed4..994ba593 100644
--- a/sokol_args.h
+++ b/sokol_args.h
@@ -1,3 +1,6 @@
+#if defined(SOKOL_IMPL) && !defined(SOKOL_ARGS_IMPL)
+#define SOKOL_ARGS_IMPL
+#endif
#ifndef SOKOL_ARGS_INCLUDED
/*
sokol_args.h -- cross-platform key/value arg-parsing for web and native
@@ -249,9 +252,6 @@
#include <stdint.h>
#include <stdbool.h>
-#if defined(SOKOL_IMPL) && !defined(SOKOL_ARGS_IMPL)
-#define SOKOL_ARGS_IMPL
-#endif
#if defined(SOKOL_API_DECL) && !defined(SOKOL_ARGS_API_DECL)
#define SOKOL_ARGS_API_DECL SOKOL_API_DECL
#endif