Small documentation fixups regarding joysticks/gamepads
[lsnes.git] / win32-crap.cpp
blob5784cf37069241b7a50b31c5e556333b0ce16f1a
1 #include "win32-crap.hpp"
3 #if defined(_WIN32) || defined(_WIN64)
4 char* strdup(const char* orig)
6 char* x = (char*)malloc(strlen(orig) + 1);
7 if(x)
8 strcpy(x, orig);
9 return x;
12 #endif