Added include guards to winapi_windows.h because of cgo including the file multiple times.

This commit is contained in:
Pietro Gagliardi 2014-07-17 23:52:07 -04:00
parent e2be30c6e4
commit b174ed985c
1 changed files with 6 additions and 0 deletions

View File

@ -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