1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-09-01 02:34:55 +00:00

physmem: Fix compilation errors on MSVC.

* lib/physmem.c (PFN_MS_EX): Use BOOL, not WINBOOL.
* modules/physmem (Depends-on): Add unistd.
This commit is contained in:
Bruno Haible
2020-05-30 10:39:49 +02:00
parent 477c6e3611
commit 4bc0be55d6
3 changed files with 8 additions and 1 deletions
+6
View File
@@ -1,3 +1,9 @@
2020-05-30 Bruno Haible <bruno@clisp.org>
physmem: Fix compilation errors on MSVC.
* lib/physmem.c (PFN_MS_EX): Use BOOL, not WINBOOL.
* modules/physmem (Depends-on): Add unistd.
2020-05-29 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix link errors with a particular set of modules on mingw.
+1 -1
View File
@@ -81,7 +81,7 @@ typedef struct
DWORDLONG ullAvailVirtual;
DWORDLONG ullAvailExtendedVirtual;
} lMEMORYSTATUSEX;
typedef WINBOOL (WINAPI *PFN_MS_EX) (lMEMORYSTATUSEX*);
typedef BOOL (WINAPI *PFN_MS_EX) (lMEMORYSTATUSEX*);
#endif
+1
View File
@@ -7,6 +7,7 @@ lib/physmem.c
m4/physmem.m4
Depends-on:
unistd
configure.ac:
gl_PHYSMEM