I'm thinking this should just be #ifdef HAVE_SCHED_H rather than listing
the platforms. That's the header file sched_param is defined in, so
probably one of the other linux header files is including it already. It
should be benign to include it here if the platform has it.

Rick

---------- Forwarded message ---------
From: erich_st--- via Oorexx-svn <oorexx-...@lists.sourceforge.net>
Date: Wed, Feb 20, 2019 at 1:45 PM
Subject: [Oorexx-svn] SF.net SVN: oorexx-code-0:[11792]
main/trunk/common/platform/unix/ SysSemaphore.cpp
To: <oorexx-...@lists.sourceforge.net>
Cc: <erich...@users.sf.net>


Revision: 11792
          http://sourceforge.net/p/oorexx/code-0/11792
Author:   erich_st
Date:     2019-02-20 18:45:03 +0000 (Wed, 20 Feb 2019)
Log Message:
-----------
fix typo

Modified Paths:
--------------
    main/trunk/common/platform/unix/SysSemaphore.cpp

Modified: main/trunk/common/platform/unix/SysSemaphore.cpp
===================================================================
--- main/trunk/common/platform/unix/SysSemaphore.cpp    2019-02-20 17:15:16
UTC (rev 11791)
+++ main/trunk/common/platform/unix/SysSemaphore.cpp    2019-02-20 18:45:03
UTC (rev 11792)
@@ -56,7 +56,7 @@
     #include <time.h>
 #endif

-#if #if defined(OPSYS_SUN) || defined(__HAIKU__)
+#if defined(OPSYS_SUN) || defined(__HAIKU__)
     #include <sched.h>
 #endif




_______________________________________________
Oorexx-svn mailing list
oorexx-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-svn
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to