ports/cad/linuxcnc-devel/files/patch-src_rtapi_rtapi__parport.h
Edward Tomasz Napierala a6e3152224 LinuxCNC controls CNC machines. It can drive milling machines,
lathes, 3d printers, laser cutters, plasma cutters, robot arms,
hexapods, and more.

- Accepts G-code input, drives CNC machines in response.
- Active user community.
- Several different GUIs available.
- Compatible with many popular machine control hardware interfaces.
- Supports rigid tapping, cutter compensation, and many other advanced
  control features.

WARNING: This port is simulation-only for now.

WWW: http://linuxcnc.org/
2016-07-13 09:18:47 +00:00

16 lines
362 B
C

--- src/rtapi/rtapi_parport.h.orig 2016-06-25 02:19:12 UTC
+++ src/rtapi/rtapi_parport.h
@@ -16,6 +16,8 @@
#ifndef RTAPI_PARPORT_H
#define RTAPI_PARPORT_H
+#ifdef __linux__
+
#include <rtapi.h>
#include <rtapi_io.h>
#include <linux/parport.h>
@@ -239,3 +241,4 @@ void rtapi_parport_release(rtapi_parport
RTAPI_END_DECLS
#endif
+#endif /* __linux__ */