Don't include libbfd.h outside of bfd, part 1
[deliverable/binutils-gdb.git] / bfd / libbfd.h
index 2b1777ef21f2a921c029068a706c1f5326989b11..eb6312b1ea0cb569414128d6350fb58b873d66b1 100644 (file)
 extern "C" {
 #endif
 
-/* Align an address upward to a boundary, expressed as a number of bytes.
-   E.g. align to an 8-byte boundary with argument of 8.  Take care never
-   to wrap around if the address is within boundary-1 of the end of the
-   address space.  */
-#define BFD_ALIGN(this, boundary)                                        \
-  ((((bfd_vma) (this) + (boundary) - 1) >= (bfd_vma) (this))             \
-   ? (((bfd_vma) (this) + ((boundary) - 1)) & ~ (bfd_vma) ((boundary)-1)) \
-   : ~ (bfd_vma) 0)
-
 /* If you want to read and write large blocks, you might want to do it
    in quanta of this amount */
 #define DEFAULT_BUFFERSIZE 8192
This page took 0.032152 seconds and 4 git commands to generate.