voyageur / openglide

Git mirror of openglide CVS (http://openglide.sourceforge.net/)
GNU Lesser General Public License v2.1
48 stars 17 forks source link

Add missing max() #define on Windows #15

Closed linkmauve closed 4 years ago

linkmauve commented 4 years ago

It doesn’t build otherwise.

voyageur commented 4 years ago

Strange, when the code was split between platforms max() was only defined for linux. Maybe they used some extra flags/imports? But anyway, all good to go in the windows platform file!

linkmauve commented 4 years ago

I build using mingw-w64 from ArchLinux’s repositories, so technically it’s not really Windows I guess.

My actual goal is to replace a glide.dll from a game, for use in Wine.