forked from KolibriOS/kolibrios
4f7ee97ec9
git-svn-id: svn://kolibrios.org@4680 a494cfbc-eb01-0410-851d-a64ba20cac60
57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
/* libFLAC - Free Lossless Audio Codec library
|
|
* Copyright (C) 2000,2001 Josh Coalson
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Library General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef FLAC__ORDINALS_H
|
|
#define FLAC__ORDINALS_H
|
|
|
|
#ifdef true
|
|
#undef true
|
|
#endif
|
|
#ifdef false
|
|
#undef false
|
|
#endif
|
|
#define true 1
|
|
#define false 0
|
|
|
|
typedef int FLAC__bool;
|
|
|
|
typedef signed char FLAC__int8;
|
|
typedef unsigned char FLAC__uint8;
|
|
|
|
#ifdef _MSC_VER
|
|
typedef __int16 FLAC__int16;
|
|
typedef __int32 FLAC__int32;
|
|
typedef __int64 FLAC__int64;
|
|
typedef unsigned __int16 FLAC__uint16;
|
|
typedef unsigned __int32 FLAC__uint32;
|
|
typedef unsigned __int64 FLAC__uint64;
|
|
#else
|
|
typedef @FLaC__SIZE16@ FLAC__int16;
|
|
typedef @FLaC__SIZE32@ FLAC__int32;
|
|
typedef @FLaC__SIZE64@ FLAC__int64;
|
|
typedef @FLaC__USIZE16@ FLAC__uint16;
|
|
typedef @FLaC__USIZE32@ FLAC__uint32;
|
|
typedef @FLaC__USIZE64@ FLAC__uint64;
|
|
#endif
|
|
|
|
typedef FLAC__uint8 FLAC__byte;
|
|
typedef float FLAC__real;
|
|
|
|
#endif
|