Skip to content

Instantly share code, notes, and snippets.

@bananu7
Created February 21, 2013 22:01
Show Gist options
  • Save bananu7/5008682 to your computer and use it in GitHub Desktop.
Save bananu7/5008682 to your computer and use it in GitHub Desktop.
draft of config
#pragma once
#ifdef _WIN32
#define MINICRAFT_WINDOWS
#else
#define MINICRAFT_LINUX
#endif
#ifdef MINICRAFT_WINDOWS
#define BREAKPOINT() _CrtDbgBreak()
#endif
#ifdef MINICRAFT_LINUX
#define BREAKPOINT() __asm { int 3 }
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment