Merge pull request #48 from crystalidea/master

added windows.h header for GetTempPathA
This commit is contained in:
Michael R Sweet 2023-10-10 07:07:46 -04:00 committed by GitHub
commit 7e3db6b639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@
# ifdef _WIN32 # ifdef _WIN32
# include <io.h> # include <io.h>
# include <direct.h> # include <direct.h>
# include <windows.h> // GetTempPathA
# define access _access // Map standard POSIX/C99 names # define access _access // Map standard POSIX/C99 names
# define close _close # define close _close
# define fileno _fileno # define fileno _fileno