diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-17 23:52:07 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-17 23:52:07 -0400 |
| commit | b174ed985c08abaec6e424b8c8e820a08f3ec047 (patch) | |
| tree | 12261aacf7f26ce692cfc7f9d267a73b9ef8f021 /redo/winapi_windows.h | |
| parent | e2be30c6e423b6376bdb667d4c61c4a8c93bbb9b (diff) | |
Added include guards to winapi_windows.h because of cgo including the file multiple times.
Diffstat (limited to 'redo/winapi_windows.h')
| -rw-r--r-- | redo/winapi_windows.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h index 3896c3b..71eb94e 100644 --- a/redo/winapi_windows.h +++ b/redo/winapi_windows.h @@ -1,5 +1,9 @@ /* 17 july 2014 */ +/* cgo will include this file multiple times */ +#ifndef __GO_UI_WINAPI_WINDOWS_H__ +#define __GO_UI_WINAPI_WINDOWS_H__ + #define UNICODE #define _UNICODE #define STRICT @@ -63,3 +67,5 @@ extern void getWindowText(HWND, WPARAM, LPCWSTR); extern void setWindowText(HWND, LPCWSTR); extern void updateWindow(HWND); extern void storelpParam(HWND, LPARAM); + +#endif |
