Remove unnecessary preprocessor conditionals

The build system handles whether or not these files are compiled.
We don't need the preprocessor to do that.
This commit is contained in:
Chris Thrasher 2023-11-15 19:34:01 -07:00
parent 1699105377
commit 24a935b623
3 changed files with 0 additions and 12 deletions

View File

@ -36,8 +36,6 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#include <SFML/Config.hpp> #include <SFML/Config.hpp>
#ifdef SFML_SYSTEM_ANDROID
#include <SFML/System/Android/Activity.hpp> #include <SFML/System/Android/Activity.hpp>
#include <SFML/System/Err.hpp> #include <SFML/System/Err.hpp>
#include <SFML/System/Sleep.hpp> #include <SFML/System/Sleep.hpp>
@ -568,5 +566,3 @@ JNIEXPORT void ANativeActivity_onCreate(ANativeActivity* activity, void* savedSt
// Share this state with the callback functions // Share this state with the callback functions
activity->instance = states; activity->instance = states;
} }
#endif // SFML_SYSTEM_ANDROID

View File

@ -37,8 +37,6 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#include <SFML/Config.hpp> #include <SFML/Config.hpp>
#ifdef SFML_SYSTEM_WINDOWS
#include <SFML/System/Win32/WindowsHeader.hpp> #include <SFML/System/Win32/WindowsHeader.hpp>
#include <cstdlib> // for `__argc` and `__argv` #include <cstdlib> // for `__argc` and `__argv`
@ -53,5 +51,3 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, INT)
return main(__argc, __argv); return main(__argc, __argv);
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
} }
#endif // SFML_SYSTEM_WINDOWS

View File

@ -43,8 +43,6 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
#include <SFML/Config.hpp> #include <SFML/Config.hpp>
#ifdef SFML_SYSTEM_IOS
#include <UIKit/UIKit.h> #include <UIKit/UIKit.h>
@ -59,5 +57,3 @@ int main(int argc, char** argv)
return UIApplicationMain(argc, argv, nil, @"SFAppDelegate"); return UIApplicationMain(argc, argv, nil, @"SFAppDelegate");
} }
#endif // SFML_SYSTEM_IOS