mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-23 16:38:04 +08:00
move defines
This commit is contained in:
parent
1cb83e78a5
commit
0a8c303685
2 changed files with 6 additions and 7 deletions
|
@ -9,6 +9,12 @@
|
||||||
// UI utilities
|
// 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"
|
#include "ui.h"
|
||||||
|
|
||||||
double CursorScaleFactor = 1;
|
double CursorScaleFactor = 1;
|
||||||
|
|
|
@ -11,13 +11,6 @@
|
||||||
#ifndef UI_H__
|
#ifndef UI_H__
|
||||||
#define 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
|
#define _USE_MATH_DEFINES
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
Loading…
Reference in a new issue