Getting ready for 2.1. (#1181)
* Getting ready for 2.1. * Fixed version. * Year. * Manually added line as takase said to. * Fixed minor issue at takase's behest. * Dunno where that went. * Updated to use a function pointer. * OK, as discussed, adding this manually for now. * Updated SDL.
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ typedef enum {
|
||||
|
||||
#ifdef _WIN32
|
||||
static volatile long PipeSerialNumber;
|
||||
static void close_fd(HANDLE* handle) { if (*handle) CloseHandle(*handle); *handle = NULL; }
|
||||
static void close_fd(HANDLE* handle) { if (*handle) CloseHandle(*handle); *handle = INVALID_HANDLE_VALUE; }
|
||||
#else
|
||||
static void close_fd(int* fd) { if (*fd) close(*fd); *fd = 0; }
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user