+2015-07-06 John Marino <gnugcc@marino.st>
+
+ * s-oscons-tmplt.c: Add support for DragonFly alongside FreeBSD.
+
2015-06-29 Eric Botcazou <ebotcazou@adacore.com>
PR ada/63310
/* ioctl(2) requests are "int" in UNIX, but "unsigned long" on FreeBSD */
-#ifdef __FreeBSD__
+#if defined (__FreeBSD__) || defined (__DragonFly__)
# define CNI CNU
# define IOCTL_Req_T "unsigned"
#else
*/
-#if defined (__FreeBSD__) || defined (__linux__)
+#if defined (__FreeBSD__) || defined (__linux__) || defined (__DragonFly__)
# define PTY_Library "-lutil"
#else
# define PTY_Library ""
#endif
CND(CLOCK_THREAD_CPUTIME_ID, "Thread CPU clock")
-#if defined(__FreeBSD__) || (defined(_AIX) && defined(_AIXVERSION_530))
+#if defined(__FreeBSD__) || (defined(_AIX) && defined(_AIXVERSION_530)) \
+ || defined(__DragonFly__)
/** On these platforms use system provided monotonic clock instead of
** the default CLOCK_REALTIME. We then need to set up cond var attributes
** appropriately (see thread.c).