Skip to content

Commit

Permalink
Re-add windows.h hack.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Nov 1, 2024
1 parent 1851f22 commit 7e713ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion td-rs-base/src/CPlusPlus_Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,10 @@ class OP_NodeInfo {
// It's possible this will be 0 the first few times the operator cooks,
// incase it cooks while TouchDesigner is still loading up
#ifdef _WIN32
HWND mainWindowHandle;
// HWND
// This is a hack to avoid including windows.h in this header file
// which autocxx doesn't know how to handle
int64_t mainWindowHandle;
#endif

// The path to where the plugin's binary is located on this machine.
Expand Down

0 comments on commit 7e713ad

Please sign in to comment.