libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: ltmain.in: Expand process.h inclusion on Windows


From: Ileana Dumitrescu
Subject: branch master updated: ltmain.in: Expand process.h inclusion on Windows
Date: Thu, 29 Feb 2024 09:41:25 -0500

This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch master
in repository libtool.

The following commit(s) were added to refs/heads/master by this push:
     new f54924fa ltmain.in: Expand process.h inclusion on Windows
f54924fa is described below

commit f54924fa5d8d5959038e58adab7c552c3ca495ae
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Thu Feb 29 15:58:26 2024 +0200

    ltmain.in: Expand process.h inclusion on Windows
    
    Multiple compilers on Windows besides the proprietary MSVC compiler
    require process.h, and not unistd.h. The inclusion check is expanded
    to include these alternative compilers which also require process.h.
    
    * ltmain.in: Replace _MSV_VER with WIN32 and !__GNU_C check
---
 build-aux/ltmain.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index d94bce55..1b8d5031 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -3638,7 +3638,7 @@ EOF
 #endif
 #include <stdio.h>
 #include <stdlib.h>
-#ifdef _MSC_VER
+#if defined (WIN32) && !defined (__GNUC_)
 # include <direct.h>
 # include <process.h>
 # include <io.h>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]