8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 19:23:02 +01:00

FB_ALIGN is always defined in src/include/types_pub.h ((n+b-1)&~(b-1))

This commit is contained in:
mapopa 2014-05-07 15:14:41 +00:00
parent 8315a7756a
commit 2adce12d57

View File

@ -22,25 +22,5 @@
* *
*/ */
#ifdef sun
#ifdef sparc
#define FB_ALIGN(n, b) ((n + b - 1) & ~(b - 1)) #define FB_ALIGN(n, b) ((n + b - 1) & ~(b - 1))
#endif
#endif
#ifdef hpux
#define FB_ALIGN(n,b) ((n + b - 1) & ~(b - 1))
#endif
#ifdef _AIX
#define FB_ALIGN(n,b) ((n + b - 1) & ~(b - 1))
#endif
#if (defined(_MSC_VER) && defined(WIN32))
#define FB_ALIGN(n,b) ((n + b - 1) & ~(b - 1))
#endif
#ifndef FB_ALIGN
#define FB_ALIGN(n,b) ((n+1) & ~1)
#endif