Skip to content

Commit 2e1df06

Browse files
committed
Merged revision(s) 23928 from trunk/OpenMPT:
[Ref] mpg123: Reorder config.h. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.30@23932 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent 1c2810e commit 2e1df06

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

include/mpg123/ports/generic/config.h

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,23 @@
109109
/* also gapless playback! */
110110
#define GAPLESS 1
111111

112-
/* new huffman decoding */
113-
#define USE_NEW_HUFFTABLE 1
114-
115112
/* Debugging */
116113

117114
/* #define DEBUG */
118115
/* #define EXTRA_DEBUG */
119116

120-
/* Arch */
117+
/* CPU Features */
118+
119+
/* use floating point */
120+
#define REAL_IS_FLOAT 1
121+
122+
/* use rounding instead of trunction */
123+
#define ACCURATE_ROUNDING 1
121124

125+
/* new huffman decoding */
126+
#define USE_NEW_HUFFTABLE 1
127+
128+
/* Endian */
122129
#if defined(_MSC_VER)
123130
#define WORDS_LITTLEENDIAN 1
124131
#elif defined(__GNUC__) || defined(__clang__)
@@ -136,7 +143,7 @@
136143
#endif
137144
#endif
138145
#endif
139-
// fallback
146+
/* fallback */
140147
#if !defined(WORDS_BIGENDIAN) && !defined(WORDS_LITTLEENDIAN)
141148
#if (defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)) || (defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)) || (defined(_STLP_BIG_ENDIAN) && !defined(_STLP_LITTLE_ENDIAN))
142149
#define WORDS_BIGENDIAN 1
@@ -149,19 +156,11 @@
149156
#endif
150157
#endif
151158

152-
/* Precision */
153-
154-
/* use floating point */
155-
#define REAL_IS_FLOAT 1
156-
157159
/* floating point is IEEE754 */
158160
#if defined(_WIN32)
159161
#define IEEE_FLOAT 1
160162
#endif
161163

162-
/* use rounding instead of trunction */
163-
#define ACCURATE_ROUNDING 1
164-
165164
/* Platform */
166165

167166
/* use the unicode support within libmpg123 */

0 commit comments

Comments
 (0)