mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 20:06:27 +00:00
Re-enabled the O_CLOEXEC definition so config headers can be fixed
This commit is contained in:
@@ -51,7 +51,8 @@
|
|||||||
|
|
||||||
#include "SDL_config.h"
|
#include "SDL_config.h"
|
||||||
|
|
||||||
#if !defined(O_CLOEXEC) && !defined(HAVE_O_CLOEXEC)
|
/* If you run into a warning that O_CLOEXEC is redefined, update the SDL configuration header for your platform to add HAVE_O_CLOEXEC */
|
||||||
|
#ifndef HAVE_O_CLOEXEC
|
||||||
#define O_CLOEXEC 0
|
#define O_CLOEXEC 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user