diff options
| author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-04-02 23:17:19 +0200 |
|---|---|---|
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-04-02 23:18:01 +0200 |
| commit | 5ee5394ccec1e9fa07f2a84d73209472c8a1daab (patch) | |
| tree | f9c70f692e87742d14bad7142563e894ad0a8c5f /include/cppunit/plugin | |
| parent | a412733438e4a589069f4db2ae17bd6e32d07864 (diff) | |
| download | cppunit-5ee5394ccec1e9fa07f2a84d73209472c8a1daab.tar.gz | |
tdf#116653, avoid NOMINMAX redefinition warnings with mingw
Diffstat (limited to 'include/cppunit/plugin')
| -rw-r--r-- | include/cppunit/plugin/TestPlugIn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cppunit/plugin/TestPlugIn.h b/include/cppunit/plugin/TestPlugIn.h index 52b5b35..4c57093 100644 --- a/include/cppunit/plugin/TestPlugIn.h +++ b/include/cppunit/plugin/TestPlugIn.h @@ -146,7 +146,9 @@ typedef CppUnitTestPlugIn *(*TestPlugInSignature)(); #define NOUSER #define NOKERNEL #define NOSOUND +#ifndef NOMINMAX #define NOMINMAX +#endif #define BLENDFUNCTION void // for mingw & gcc #include <windows.h> #endif |
