move defines

This commit is contained in:
iceman1001 committed 2019-04-13 02:49:15 +02:00
1 parent 1cb83e78a5
commit 0a8c303685
2 files changed
+6 -7

No files matched your search

+6
View File
@@ -9,6 +9,12 @@
// UI utilities
//-----------------------------------------------------------------------------
/* Ensure strtok_r is available even with -std=c99; must be included before
*/
#if !defined(_WIN32)
#define _POSIX_C_SOURCE 200112L
#endif
#include "ui.h"
double CursorScaleFactor = 1;
-7
View File
@@ -11,13 +11,6 @@
#ifndef UI_H__
#define UI_H__
/* Ensure gmtime_r, strtok_r is available even with -std=c99; must be included before
*/
#if !defined(_WIN32)
#define _POSIX_C_SOURCE 200112L
#endif
#define _USE_MATH_DEFINES
#include <stdarg.h>
#include <stdlib.h>