aboutsummaryrefslogtreecommitdiff
path: root/sokol_fetch.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_fetch.h
parent8135988629e1a0df4394201284886b038fa8bc5c (diff)
move SOKOL_IMPL vs SOKOL_xxx_IMPL outside the include guard
Diffstat (limited to 'sokol_fetch.h')
-rw-r--r--sokol_fetch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sokol_fetch.h b/sokol_fetch.h
index 6b11fd79..95324729 100644
--- a/sokol_fetch.h
+++ b/sokol_fetch.h
@@ -1,3 +1,6 @@
+#if defined(SOKOL_IMPL) && !defined(SOKOL_FETCH_IMPL)
+#define SOKOL_FETCH_IMPL
+#endif
#ifndef SOKOL_FETCH_INCLUDED
/*
sokol_fetch.h -- asynchronous data loading/streaming
@@ -831,9 +834,6 @@
#include <stdint.h>
#include <stdbool.h>
-#if defined(SOKOL_IMPL) && !defined(SOKOL_FETCH_IMPL)
-#define SOKOL_FETCH_IMPL
-#endif
#if defined(SOKOL_API_DECL) && !defined(SOKOL_FETCH_API_DECL)
#define SOKOL_FETCH_API_DECL SOKOL_API_DECL
#endif