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:
@@ -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
@@ -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
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ lib/physmem.c
|
||||
m4/physmem.m4
|
||||
|
||||
Depends-on:
|
||||
unistd
|
||||
|
||||
configure.ac:
|
||||
gl_PHYSMEM
|
||||
|
||||
Reference in New Issue
Block a user