#ifndef VG_PLATFORM_H
#define VG_PLATFORM_H
+#ifdef VG_RELEASE
+ #define VG_STATIC static
+#else
+ #define VG_STATIC
+#endif
+
//#include "vg.h"
#include "vg_stdint.h"
const char *name;
};
-#ifndef VG_STATIC
-#define VG_STATIC static
-#endif
-
#define vg_static_assert _Static_assert
#define vg_list_size( A ) (sizeof(A)/sizeof(A[0]))
#define VG_MUST_USE_RESULT __attribute__((warn_unused_result))
#define VG_MIN( A, B ) ((A)<(B)?(A):(B))
#define VG_MAX( A, B ) ((A)>(B)?(A):(B))
-
#endif