Ticket #113: sal-h-check.patch

File sal-h-check.patch, 0.7 KB (added by bjoern, 6 years ago)

patch

  • compiler.h

    old new  
    1818 * Microsoft provides two annotations mechanisms.  __declspec, which has been 
    1919 * around for a while, and Microsoft's standard source code annotation 
    2020 * language (SAL), introduced with Visual C++ 8.0. 
    2121 * See <http://msdn2.microsoft.com/en-us/library/ms235402(VS.80).aspx>, 
    2222 * <http://msdn2.microsoft.com/en-us/library/dabb5z75(VS.80).aspx>. 
    2323 */ 
    24 #if defined(_MSC_VER) && (_MSC_VER > 1300) 
     24#if defined(_MSC_VER) && (_MSC_VER > 1500) 
    2525#  define PARROT_HAS_SAL 1 
    2626#  include <sal.h> 
    2727#else 
    2828#  define PARROT_HAS_SAL 0 
    2929#endif 
    3030