summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/codemaker/global.cxx2
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx8
2 files changed, 5 insertions, 5 deletions
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 <string.h>
#include <errno.h>
-#if defined(SAL_W32)
+#if defined(_WIN32)
# include <io.h>
# include <direct.h>
#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(