code_junkie

Using GLUT with Visual C++ Express Edition

Nov 10th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. --- c:naterobbinsglut.h 2000-12-13 00:22:52.000000000 +0900
  2. +++ c:updatedglut.h 2006-05-23 11:06:10.000000000 +0900
  3. @@ -143,7 +143,12 @@
  4.  
  5. #if defined(_WIN32)
  6. # ifndef GLUT_BUILDING_LIB
  7. -extern _CRTIMP void __cdecl exit(int);
  8. +/* extern _CRTIMP void __cdecl exit(int); /* Changed for .NET */
  9. +# if _MSC_VER >= 1200
  10. +extern _CRTIMP __declspec(noreturn) void __cdecl exit(int);
  11. +# else
  12. +extern _CRTIMP void __cdecl exit(int);
  13. +# endif
  14. # endif
  15. #else
  16. /* non-Win32 case. */
Add Comment
Please, Sign In to add comment