aboutsummaryrefslogtreecommitdiff
path: root/util/sokol_debugtext.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 /util/sokol_debugtext.h
parent8135988629e1a0df4394201284886b038fa8bc5c (diff)
move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guard
Diffstat (limited to 'util/sokol_debugtext.h')
-rw-r--r--util/sokol_debugtext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h
index c88e3065..b07bfe39 100644
--- a/util/sokol_debugtext.h
+++ b/util/sokol_debugtext.h
@@ -1,3 +1,6 @@
+#if defined(SOKOL_IMPL) && !defined(SOKOL_DEBUGTEXT_IMPL)
+#define SOKOL_DEBUGTEXT_IMPL
+#endif
#ifndef SOKOL_DEBUGTEXT_INCLUDED
/*
sokol_debugtext.h - simple ASCII debug text rendering on top of sokol_gfx.h
@@ -394,9 +397,6 @@
#error "Please include sokol_gfx.h before sokol_debugtext.h"
#endif
-#if defined(SOKOL_IMPL) && !defined(SOKOL_DEBUGTEXT_IMPL)
-#define SOKOL_DEBUGTEXT_IMPL
-#endif
#if defined(SOKOL_API_DECL) && !defined(SOKOL_DEBUGTEXT_API_DECL)
#define SOKOL_DEBUGTEXT_API_DECL SOKOL_API_DECL
#endif