Annotation of hatari/src/includes/vs-fix.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Hatari - Fix compilation with Visual Studio
        !             3:  *
        !             4:  * This file is distributed under the GNU General Public License, version 2
        !             5:  * or at your option any later version. Read the file gpl.txt for details.
        !             6:  */
        !             7: #ifndef VS_FIX_H
        !             8: #define VS_FIX_H
        !             9: 
        !            10: // Stop Visual Studio complaining
        !            11: #define _CRT_SECURE_NO_WARNINGS        /* Insecure strcpy etc. */
        !            12: #pragma warning (disable:4018) /* signed / unsigned mismatch */
        !            13: #pragma warning (disable:4049) /* compiler limit, end of line numbering */
        !            14: #pragma warning (disable:4101) /* unreferenced local variable */
        !            15: #pragma warning (disable:4102) /* ignore unused label warning */
        !            16: #pragma warning (disable:4146) /* unary minus operator applied to unsigned type */
        !            17: #pragma warning (disable:4244) /* conversion with potential data loss */
        !            18: #pragma warning (disable:4761) /* integral size mismatch in argument */
        !            19: #pragma warning (disable:4800) /* Performance Warning on Conversion of bool to int */
        !            20: #pragma warning (disable:4996) /* Unsafe functions */
        !            21: 
        !            22: #undef _DEBUG  /* Visual Studio is doing some macro redefinition otherwise */
        !            23: 
        !            24: typedef unsigned short mode_t;
        !            25: 
        !            26: #define        strncasecmp     _strnicmp
        !            27: #define        strcasecmp      _stricmp
        !            28: 
        !            29: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.