os/kernelhwsrv/kernel/eka/include/nkern/win32/nk_plat.h
changeset 1 260cb5ec6c19
parent 0 bde4ae8d615e
     1.1 --- a/os/kernelhwsrv/kernel/eka/include/nkern/win32/nk_plat.h	Fri Jun 15 03:10:57 2012 +0200
     1.2 +++ b/os/kernelhwsrv/kernel/eka/include/nkern/win32/nk_plat.h	Tue Jun 10 14:32:02 2014 +0200
     1.3 @@ -26,9 +26,20 @@
     1.4  #ifndef __NK_WIN32_H__
     1.5  #define __NK_WIN32_H__
     1.6  
     1.7 +//SL: Avoid warnings
     1.8 +#ifdef _CRTIMP
     1.9 +#undef _CRTIMP
    1.10 +#endif
    1.11 +
    1.12  #define _CRTIMP			// we want to use the win32 static runtime library
    1.13  
    1.14  #define WIN32_LEAN_AND_MEAN
    1.15 +
    1.16 +//SL: Avoid warnings
    1.17 +#ifdef _WIN32_WINNT
    1.18 +#undef _WIN32_WINNT
    1.19 +#endif
    1.20 +
    1.21  #define _WIN32_WINNT 0x0400
    1.22  #include <windows.h>
    1.23