Use correct define in #ifdef, __linux__ not linux

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-12-06 18:26:39 +01:00
parent 73736adbfd
commit a7fe2ef700

View File

@ -50,7 +50,7 @@
/*
* Linux uses EIO instead of EBADFD (mrn 12 May 96)
*/
#ifdef linux
#ifdef __linux__
#define EHANGUP EIO
#else
#define EHANGUP EBADFD