Mercurial > hg > orthanc-databases
diff Odbc/Plugins/IndexPlugin.cpp @ 333:fad7c6156923
fix pragma warning for msvc
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Aug 2021 08:00:46 +0200 |
parents | 674bbb9d1c83 |
children | 16aac0287485 |
line wrap: on
line diff
--- a/Odbc/Plugins/IndexPlugin.cpp Wed Aug 11 07:45:54 2021 +0200 +++ b/Odbc/Plugins/IndexPlugin.cpp Wed Aug 11 08:00:46 2021 +0200 @@ -29,7 +29,11 @@ #if defined(_WIN32) -# warning Strings have not been tested on Windows (UTF-16 issues ahead)! +# ifdef _MSC_VER +# pragma message("Warning: Strings have not been tested on Windows (UTF-16 issues ahead)!") +# else +# warning Strings have not been tested on Windows (UTF-16 issues ahead)! +# endif # include <windows.h> #else # include <ltdl.h>