From 697f01e052ae73e88d7e1a37386f2648d57e12e2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Jan 2018 16:39:59 +0100 Subject: SAL_W32 is just an alias for _WIN32 ...so consistently use the latter instead of the former Change-Id: I144d5e7c472632f93b2258461510346bc85892d9 Reviewed-on: https://gerrit.libreoffice.org/48135 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- codemaker/source/codemaker/global.cxx | 2 +- codemaker/source/cppumaker/cpputype.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'codemaker') diff --git a/codemaker/source/codemaker/global.cxx b/codemaker/source/codemaker/global.cxx index 512edab4fff7..daf031d7728d 100644 --- a/codemaker/source/codemaker/global.cxx +++ b/codemaker/source/codemaker/global.cxx @@ -26,7 +26,7 @@ #include #include -#if defined(SAL_W32) +#if defined(_WIN32) # include # include #endif diff --git a/codemaker/source/cppumaker/cpputype.cxx b/codemaker/source/cppumaker/cpputype.cxx index ba84a46b75f4..22711d444126 100644 --- a/codemaker/source/cppumaker/cpputype.cxx +++ b/codemaker/source/cppumaker/cpputype.cxx @@ -1813,7 +1813,7 @@ private: void PlainStructType::dumpDeclaration(FileStream & out) { - out << "\n#ifdef SAL_W32\n# pragma pack(push, 8)\n#endif\n\n" << indent(); + out << "\n#ifdef _WIN32\n# pragma pack(push, 8)\n#endif\n\n" << indent(); out << "struct SAL_DLLPUBLIC_RTTI "; if (canBeWarnUnused(name_)) out << "SAL_WARN_UNUSED "; @@ -1856,7 +1856,7 @@ void PlainStructType::dumpDeclaration(FileStream & out) } } dec(); - out << "};\n\n#ifdef SAL_W32\n# pragma pack(pop)\n#endif\n\n"; + out << "};\n\n#ifdef _WIN32\n# pragma pack(pop)\n#endif\n\n"; } void PlainStructType::dumpHppFile( @@ -2212,7 +2212,7 @@ private: void PolyStructType::dumpDeclaration(FileStream & out) { - out << "\n#ifdef SAL_W32\n# pragma pack(push, 8)\n#endif\n\n" << indent(); + out << "\n#ifdef _WIN32\n# pragma pack(push, 8)\n#endif\n\n" << indent(); dumpTemplateHead(out); out << "struct SAL_DLLPUBLIC_RTTI " << id_ << " {\n"; inc(); @@ -2248,7 +2248,7 @@ void PolyStructType::dumpDeclaration(FileStream & out) } } dec(); - out << "};\n\n#ifdef SAL_W32\n# pragma pack(pop)\n#endif\n\n"; + out << "};\n\n#ifdef _WIN32\n# pragma pack(pop)\n#endif\n\n"; } void PolyStructType::dumpHppFile( -- cgit