distinguish internal/ext. builds with FIO_INTERNAL
authorDaniel Gollub <daniel.gollub@gmail.com>
Thu, 1 May 2014 12:07:02 +0000 (14:07 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 1 May 2014 17:21:52 +0000 (11:21 -0600)
commit9195552e8fca86b682a86fc7ab0fb6eacb433f16
tree24da3ea9e2381baa76a332a9ad9f53e08baf008a
parent7221da3796145cf778ded56024c5e1efa00a3901
distinguish internal/ext. builds with FIO_INTERNAL

To distinguish between internal and external includes of
fio.h and other headers FIO_INTERNAL get applied only for
the fio (and gfio) internal build itself.

This helps to prevent double-declaration issues by making
ambigous declaration with common names coditional based on
the FIO_INTERNAL define.

Signed-off-by: Daniel Gollub <daniel.gollub@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Makefile