summaryrefslogtreecommitdiffstats
path: root/codemaker/source/cppumaker/cpputype.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/source/cppumaker/cpputype.cxx')
-rw-r--r--codemaker/source/cppumaker/cpputype.cxx8
1 files changed, 4 insertions, 4 deletions
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(