Using autoconf check to detect if there's a parallel port.
This commit is contained in:
1 parent
77b73505ec
commit
8cff8dbf77
4 files changed
+51
-16
No files matched your search
@@ -66,14 +66,14 @@
|
||||
#if defined DELAY_GETTIMEOFDAY
|
||||
# undef DELAY_NANOSLEEP
|
||||
# undef DELAY_IOCALLS
|
||||
#elif defined DELAY_NANOSLEEP
|
||||
# undef DELAY_GETTIMEOFDAY
|
||||
# undef DELAY_IOCALLS
|
||||
# include <sched.h>
|
||||
#else // assume DELAY_IOCALLS
|
||||
#elif defined DELAY_IOCALLS && defined HAVE_LPT_PORT
|
||||
# undef DELAY_GETTIMEOFDAY
|
||||
# undef DELAY_NANOSLEEP
|
||||
# include "port.h"
|
||||
#else // assume DELAY_NANOSLEEP
|
||||
# undef DELAY_GETTIMEOFDAY
|
||||
# undef DELAY_IOCALLS
|
||||
# include <sched.h>
|
||||
#endif
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user