Alistair Leslie-Hughes leslie_alistair@hotmail.com writes:
@@ -26,6 +26,20 @@ import "oledb.idl"; #define vi_progid(str) #endif
+#ifdef _WIN64 +cpp_quote("#ifdef _WIN64")
- typedef LONGLONG COMPATIBLE_LONG;
+cpp_quote("#else") +cpp_quote(" typedef LONG COMPATIBLE_LONG;") +cpp_quote("#endif") +#else +cpp_quote("#ifdef _WIN64") +cpp_quote(" typedef LONGLONG COMPATIBLE_LONG;") +cpp_quote("#else")
- typedef LONG COMPATIBLE_LONG;
+cpp_quote("#endif") +#endif
You can't do that, _WIN64 is not meaningful in idl.