mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:03:03 +01:00
FB_ALIGN is always defined in src/include/types_pub.h ((n+b-1)&~(b-1))
This commit is contained in:
parent
8315a7756a
commit
2adce12d57
@ -22,25 +22,5 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifdef sun
|
||||
#ifdef sparc
|
||||
#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
|
||||
#define FB_ALIGN(n, b) ((n + b - 1) & ~(b - 1))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user