Skip to content

Commit

Permalink
Use the conforming preprocessor by default
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Oct 18, 2024
1 parent 8f6bae0 commit 73db750
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/H5win32defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ struct timezone {
* is dropped if nothing is passed to the ellipsis.
*
* MinGW and the newer, conforming MSVC preprocessor do not exhibit this
* behavior.
* behavior. The conforming preprocessor is also used by default with
* C11.
*/
#if (defined(_MSC_VER) && !defined(_MSVC_TRADITIONAL)) || defined(_MSVC_TRADITIONAL)
#if defined(_MSVC_TRADITIONAL)
/* Using the MSVC traditional preprocessor */
#define HDopen(S, F, ...) Wopen(S, F, __VA_ARGS__)
#else
Expand Down

0 comments on commit 73db750

Please sign in to comment.