aboutsummaryrefslogtreecommitdiff
path: root/sokol_args.h
diff options
context:
space:
mode:
authormartincohen <m@coh.io>2019-09-02 12:08:51 +0200
committermartincohen <m@coh.io>2019-09-02 12:08:51 +0200
commit3eff120cfffbd6b9285208a02269927235d59693 (patch)
treeea32d83184a7f66ee52722d5e1977757707a13cd /sokol_args.h
parentd476a22a51f195976fb6a61a449603125b8cbb9f (diff)
ifdef guards
Diffstat (limited to 'sokol_args.h')
-rw-r--r--sokol_args.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sokol_args.h b/sokol_args.h
index 6cc87531..3d11d981 100644
--- a/sokol_args.h
+++ b/sokol_args.h
@@ -1,4 +1,4 @@
-#pragma once
+#ifndef SOKOL_ARGS_INCLUDED
/*
sokol_args.h -- cross-platform key/value arg-parsing for web and native
@@ -295,6 +295,7 @@ SOKOL_API_DECL const char* sargs_value_at(int index);
#ifdef __cplusplus
} /* extern "C" */
#endif
+#endif // SOKOL_ARGS_INCLUDED
/*--- IMPLEMENTATION ---------------------------------------------------------*/
#ifdef SOKOL_IMPL