Include SDL.h before anything else
This also cleans up the unnecessary source-level defines
This commit is contained in:
@@ -2,10 +2,7 @@
|
|||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#define _LARGEFILE64_SOURCE 1
|
#define _LARGEFILE64_SOURCE 1
|
||||||
#endif
|
#endif
|
||||||
#define _POSIX_C_SOURCE 200809L
|
#include <SDL.h>
|
||||||
#ifdef __APPLE__
|
|
||||||
#define _DARWIN_C_SOURCE 1
|
|
||||||
#endif
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -20,7 +17,7 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
#include <SDL.h>
|
|
||||||
#include <86box/86box.h>
|
#include <86box/86box.h>
|
||||||
#include <86box/keyboard.h>
|
#include <86box/keyboard.h>
|
||||||
#include <86box/mouse.h>
|
#include <86box/mouse.h>
|
||||||
|
Reference in New Issue
Block a user