Changed const int to #define for Windoze