mainGNU Libtool - Support: sr #109514, [_MSC_VER] should be...


sr #109514: [_MSC_VER] should be [_WIN32] in one place

Submitter:  None
Submitted:  Mon 04 Jun 2018 02:21:41 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup

Mon 04 Jun 2018 02:21:41 PM UTC, original submission:  


 #include <stdio.h>
 #include <stdlib.h>
-#ifdef _MSC_VER
+#if defined (WIN32) && !defined (__GNUC_)
 # include <direct.h>
 # include <process.h>
 # include <io.h>
 # include <unistd.h>
 # include <stdint.h>
 # ifdef _CYGWIN_
 #  include <io.h>
 # endif

The reason is that there are much more compilers for win32 than the proprietary MSVC. All I'm aware of that are not GCC "based" need process.h instead of unistd.h.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.12