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:
Adam
2022-11-02 03:38:58 +01:00
committed by GitHub
parent 3bd567f5e1
commit 9951e785b6
7 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -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