Fix examples mostly

This commit is contained in:
Thomas Krijnen
2026-01-07 13:51:48 +01:00
parent 572a5655cf
commit f2f4d626a5
13 changed files with 545 additions and 574 deletions
+7
View File
@@ -1,6 +1,10 @@
#ifndef STORAGE_H
#define STORAGE_H
// Avoid conflicts with OpenCascade HANDLE type and RocksDB Handle
#pragma push_macro("Handle")
#undef Handle
#ifndef IFOPSH_WITH_ROCKSDB
namespace rocksdb {
@@ -483,4 +487,7 @@ namespace IfcParse {
}
}
// redefine Handle macro.
#pragma pop_macro("Handle")
#endif // STORAGE_H