mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-19 00:04:04 +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
|
#define _USE_MATH_DEFINES
|
||||||
#endif
|
#endif
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -2,16 +2,17 @@
|
|||||||
* streamtypes.h - widely used type definitions
|
* streamtypes.h - widely used type definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pstdint.h"
|
|
||||||
|
|
||||||
#ifndef _STREAMTYPES_H
|
#ifndef _STREAMTYPES_H
|
||||||
#define _STREAMTYPES_H
|
#define _STREAMTYPES_H
|
||||||
|
|
||||||
/* Fix for Visual C++ 2005: will not compile otherwise */
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define inline _inline
|
#include "pstdint.h"
|
||||||
#define strcasecmp _stricmp
|
#define inline _inline
|
||||||
#define snprintf _snprintf
|
#define strcasecmp _stricmp
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#else
|
||||||
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int16_t sample;
|
typedef int16_t sample;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#define _CRT_SECURE_NO_DEPRECATE
|
#define _CRT_SECURE_NO_DEPRECATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user