Skip to content

Commit 988bb6c

Browse files
committed
Mysqlnd: Removed useless precompilter cond
1 parent dee0042 commit 988bb6c

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

ext/mysqlnd/mysqlnd_portability.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -284,15 +284,8 @@ typedef union {
284284
register) variable, M is a pointer to byte */
285285

286286
#ifndef float8get
287-
288-
#ifdef WORDS_BIGENDIAN
289-
#define float8get(V,M) memcpy((char*) &(V),(char*) (M), sizeof(double))
290-
#define float8store(T,V) memcpy((char*) (T),(char*) &(V), sizeof(double))
291-
#else
292-
#define float8get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(double))
293-
#define float8store(T,V) memcpy((char*) (T),(char*) &(V),sizeof(double))
294-
#endif /* WORDS_BIGENDIAN */
295-
296-
#endif /* float8get */
287+
# define float8get(V,M) memcpy((char*) &(V),(char*) (M),sizeof(double))
288+
# define float8store(T,V) memcpy((char*) (T),(char*) &(V),sizeof(double))
289+
#endif
297290

298291
#endif /* MYSQLND_PORTABILITY_H */

0 commit comments

Comments
 (0)