Skip to content

Commit 309e6b7

Browse files
author
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
committed
It seems __MINGW64_VERSION_MAJOR isn't predefined.
1 parent be5415e commit 309e6b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/afio/test/test_functions.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Created: Feb 2013
1313
//#define MAXIMUM_TEST_CPUS 1
1414

1515
#ifdef __MINGW32__
16+
#include <stdlib.h> // To pull in __MINGW64_VERSION_MAJOR
1617
#ifndef __MINGW64_VERSION_MAJOR
1718
// Mingw32 doesn't define putenv() needed by Boost.Test
1819
extern "C" int putenv(char*);

0 commit comments

Comments
 (0)