Problem 1722 - compile error with MinGW: sys/times.h: no such file or directory
Summary: compile error with MinGW: sys/times.h: no such file or directory
Status: RESOLVED LATER
Alias: None
Product: Geant4
Classification: Unclassified
Component: global/management (show other problems)
Version: 10.0
Hardware: PC Windows
: P5 trivial
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2015-03-12 20:28 CET by Mojca Miklavec
Modified: 2015-11-16 11:19 CET (History)
0 users

See Also:


Attachments
A trivial patch to fix compilation on MinGW by replacing WIN32 with _WIN32 (1.15 KB, application/octet-stream)
2015-03-12 20:28 CET, Mojca Miklavec
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Mojca Miklavec 2015-03-12 20:28:00 CET
Created attachment 322 [details]
A trivial patch to fix compilation on MinGW by replacing WIN32 with _WIN32

I would like to request applying the attached relatively trivial patch that would make the code compile with MinGW as well in addition to just Visual Studio.

See also http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1721 and http://hypernews.slac.stanford.edu/HyperNews/geant4/get/installconfig/1563.html
Comment 1 Ben Morgan 2015-11-16 11:19:17 CET
This will require further changes across the codebase, so will be delayed until after the 10.2 release