mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-18 15:54:05 +01:00
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:
parent
dd84452570
commit
07e9513675
@ -1,4 +1,4 @@
|
||||
#if _MSC_VER
|
||||
#ifdef _MSC_VER
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
#include <math.h>
|
||||
|
@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifdef _MSC_VER
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#define _CRT_SECURE_NO_DEPRECATE
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user