This commit is contained in:
nephacks
2025-06-04 03:22:50 +02:00
parent f234f23848
commit f12416cffd
14243 changed files with 6446499 additions and 26 deletions

24
public/nowindows.h Normal file
View File

@@ -0,0 +1,24 @@
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef NOWINDOWS_H
#define NOWINDOWS_H
#pragma once
// put defs in here to avoid including windows.h. This one allows you to declare WinMain without windows.h
#ifndef DECLARE_HANDLE
typedef void *HANDLE;
#define DECLARE_HANDLE(name) struct name##__ { int unused; }; typedef struct name##__ *name
DECLARE_HANDLE(HINSTANCE);
typedef char *LPSTR;
#endif
// int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow );
#endif // NOWINDOWS_H