10 lines
246 B
C
10 lines
246 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#if BUILDING_PLAYER_DLL
|
||
|
|
#define UNITY_API __declspec(dllexport)
|
||
|
|
#else
|
||
|
|
#define UNITY_API __declspec(dllimport)
|
||
|
|
#endif
|
||
|
|
|
||
|
|
extern "C" UNITY_API int UnityMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nShowCmd);
|