diff options
author | A_GAN <ganzouri97@gmail.com> | 2020-01-25 04:33:09 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-01-25 22:02:16 +0100 |
commit | 42e811a80a3c6f0ca5da359c4a526a1cc3e0d528 (patch) | |
tree | e631dcfab8b2541c471a413dd6c071ba9a80e6c0 /salhelper | |
parent | 5568023a716b945fa3e1398859ee9682b8f71a9a (diff) |
tdf#130137 Replace remaining uses of WNT define checks with _WIN32
Change-Id: If95f1ea5a81de62eb4f725e5fcb30ccb8530062a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87372
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'salhelper')
-rw-r--r-- | salhelper/source/simplereferenceobject.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/salhelper/source/simplereferenceobject.cxx b/salhelper/source/simplereferenceobject.cxx index c07c922528a6..d57e7f0cdcb9 100644 --- a/salhelper/source/simplereferenceobject.cxx +++ b/salhelper/source/simplereferenceobject.cxx @@ -40,9 +40,9 @@ void *SimpleReferenceObject::operator new(std::size_t nSize, #if defined(_WIN32) return ::operator new(nSize); // WNT lacks a global nothrow operator new... -#else // WNT +#else // _WIN32 return ::operator new(nSize, std::nothrow); -#endif // WNT +#endif // _WIN32 } void SimpleReferenceObject::operator delete(void * pPtr) @@ -54,9 +54,9 @@ void SimpleReferenceObject::operator delete(void * pPtr, std::nothrow_t const &) { #if defined(_WIN32) ::operator delete(pPtr); // WNT lacks a global nothrow operator delete... -#else // WNT +#else // _WIN32 ::operator delete(pPtr, std::nothrow); -#endif // WNT +#endif // _WIN32 } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |