cleanup indents, don't use pstdint.h outside of MSVC

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@68 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-04-03 13:56:50 +00:00
parent dd84452570
commit 07e9513675
4 changed files with 9 additions and 8 deletions

View File

@ -1,4 +1,4 @@
#if _MSC_VER
#ifdef _MSC_VER
#define _USE_MATH_DEFINES
#endif
#include <math.h>

View File

@ -3,7 +3,7 @@
*/
#ifdef _MSC_VER
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#include <stdlib.h>

View File

@ -2,16 +2,17 @@
* streamtypes.h - widely used type definitions
*/
#include "pstdint.h"
#ifndef _STREAMTYPES_H
#define _STREAMTYPES_H
/* Fix for Visual C++ 2005: will not compile otherwise */
#ifdef _MSC_VER
#define inline _inline
#define strcasecmp _stricmp
#define snprintf _snprintf
#include "pstdint.h"
#define inline _inline
#define strcasecmp _stricmp
#define snprintf _snprintf
#else
#include <stdint.h>
#endif
typedef int16_t sample;

View File

@ -1,5 +1,5 @@
#ifdef _MSC_VER
#define _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE
#endif
#include <stdio.h>