diff --git a/Source/DialogTemplate.h b/Source/DialogTemplate.h index ea6ada81..33861b73 100644 --- a/Source/DialogTemplate.h +++ b/Source/DialogTemplate.h @@ -34,6 +34,9 @@ using namespace std; #ifndef IS_INTRESOURCE +#ifndef ULONG_PTR +#define ULONG_PTR DWORD +#endif #define IS_INTRESOURCE(_r) (((ULONG_PTR)(_r) >> 16) == 0) #endif