Skip to content

Instantly share code, notes, and snippets.

@arsenm
Created November 26, 2010 03:54
Show Gist options
  • Save arsenm/716264 to your computer and use it in GitHub Desktop.
Save arsenm/716264 to your computer and use it in GitHub Desktop.
void boinc_getcwd(char* path) {
#ifdef _WIN32
getcwd(path, 256);
#else
char* p
#ifdef __GNUC__
__attribute__ ((unused))
#endif
= getcwd(path, 256);
#endif
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment