1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 10:09:43 +01:00

Move Emscripten includes to top of main.cpp

All system header includes should come before project-specific includes
(includes specific to this game), while coming after the include
specific to the given file (if any; main.cpp doesn't have any).
This commit is contained in:
Misa 2021-09-20 13:47:53 -07:00
parent 4eb7f973ef
commit 1d0401ef83

View file

@ -1,4 +1,8 @@
#include <SDL.h> #include <SDL.h>
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten/html5.h>
#endif
#include "CustomLevels.h" #include "CustomLevels.h"
#include "DeferCallbacks.h" #include "DeferCallbacks.h"
@ -24,11 +28,6 @@
#include "UtilityClass.h" #include "UtilityClass.h"
#include "Vlogging.h" #include "Vlogging.h"
#ifdef __EMSCRIPTEN__
#include <emscripten.h>
#include <emscripten/html5.h>
#endif
scriptclass script; scriptclass script;
#ifndef NO_CUSTOM_LEVELS #ifndef NO_CUSTOM_LEVELS