summaryrefslogtreecommitdiffstats
path: root/win32caml/inria.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32caml/inria.h')
-rw-r--r--win32caml/inria.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/win32caml/inria.h b/win32caml/inria.h
index 13949d52d..8b0ad2262 100644
--- a/win32caml/inria.h
+++ b/win32caml/inria.h
@@ -63,6 +63,14 @@
#include "editbuffer.h"
#include "history.h"
+#if _MSC_VER <= 1200
+#define GetWindowLongPtr GetWindowLong
+#define SetWindowLongPtr SetWindowLong
+#define DWLP_USER DWL_USER
+#define GWLP_WNDPROC GWL_WNDPROC
+#define LONG_PTR DWORD
+#endif
+
// In this structure should go eventually all global variables scattered
// through the program.
typedef struct _programParams {