[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 08/13: Need Guile and Windows types for the declarations
From: |
Mike Gran |
Subject: |
[Guile-commits] 08/13: Need Guile and Windows types for the declarations posix-w32 |
Date: |
Thu, 21 Jan 2021 19:06:17 -0500 (EST) |
mike121 pushed a commit to branch master
in repository guile.
commit d3f7a1d0b7ec2107db917d87bae452b6d877b6ab
Author: Michael Gran <spk121@yahoo.com>
AuthorDate: Sun Dec 27 18:09:45 2020 -0800
Need Guile and Windows types for the declarations posix-w32
* libguile/posix-w32.h: include scm.h and windows.h
---
libguile/posix-w32.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/libguile/posix-w32.h b/libguile/posix-w32.h
index 8fe4f1c..83860ff 100644
--- a/libguile/posix-w32.h
+++ b/libguile/posix-w32.h
@@ -1,7 +1,7 @@
#ifndef SCM_POSIX_W32_H
#define SCM_POSIX_W32_H
-/* Copyright 2001,2006,2018
+/* Copyright 2001,2006,2018,2020
Free Software Foundation, Inc.
This file is part of Guile.
@@ -20,7 +20,14 @@
License along with Guile. If not, see
<https://www.gnu.org/licenses/>. */
+#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
+#define WIN32_LEAN_AND_MEAN
+#endif
+#include <Windows.h>
+#endif
#include <string.h>
+#include "libguile/scm.h"
#define _UTSNAME_LENGTH 65
#define _UTSNAME_NODENAME_LENGTH _UTSNAME_LENGTH
- [Guile-commits] branch master updated (1a6eaba -> 91d4d31), Mike Gran, 2021/01/21
- [Guile-commits] 02/13: for socket test, don't presume TMP is usable, Mike Gran, 2021/01/21
- [Guile-commits] 01/13: encoding test tries to delete a file that is not closed, Mike Gran, 2021/01/21
- [Guile-commits] 04/13: in command line encoding test don't presume extant UTF-8 locale, Mike Gran, 2021/01/21
- [Guile-commits] 03/13: skip compile test when pause not available, Mike Gran, 2021/01/21
- [Guile-commits] 06/13: test-foreign-object-c should link libgnu, Mike Gran, 2021/01/21
- [Guile-commits] 05/13: for dynamic-link tests, mingw needs to link to msvcrt, Mike Gran, 2021/01/21
- [Guile-commits] 07/13: missing includes for list.h, Mike Gran, 2021/01/21
- [Guile-commits] 08/13: Need Guile and Windows types for the declarations posix-w32,
Mike Gran <=
- [Guile-commits] 09/13: in null threads, don't define sigmask stub when pthread_sigmask does not exist, Mike Gran, 2021/01/21
- [Guile-commits] 11/13: standalone tests require libgnu on DLL-based platforms, Mike Gran, 2021/01/21
- [Guile-commits] 12/13: avoid a ports test when fcntl is not provided, Mike Gran, 2021/01/21
- [Guile-commits] 10/13: skip version test if git-version-gen can't compute version from git, Mike Gran, 2021/01/21
- [Guile-commits] 13/13: socket test should not throw unresolved outside of a test, Mike Gran, 2021/01/21