Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
697 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef NOWINDOWS_H
  9. #define NOWINDOWS_H
  10. #pragma once
  11. // put defs in here to avoid including windows.h. This one allows you to declare WinMain without windows.h
  12. #ifndef DECLARE_HANDLE
  13. typedef void *HANDLE;
  14. #define DECLARE_HANDLE(name) struct name##__ { int unused; }; typedef struct name##__ *name
  15. DECLARE_HANDLE(HINSTANCE);
  16. typedef char *LPSTR;
  17. #endif
  18. // int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow );
  19. #endif // NOWINDOWS_H