Original Post
I am working on a project that uses OpenGL and I want to port it to Linux using SDL, however without including windows.h all the typedefs, #defines and functions I use (like QueryPerformanceCounter and LONGLONG) are unavailable. What can I do? Should I #define and typedef what I need and use other alternative for the APIs?
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"