Fix leftover _VXW_PRE_69 in gthr-vxworks.h
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Fri, 2 Oct 2020 13:03:26 +0000 (13:03 +0000)
committerOlivier Hainque <hainque@adacore.com>
Fri, 16 Oct 2020 16:14:52 +0000 (16:14 +0000)
2020-10-15  Rasmus Villemoes  <rv@rasmusvillemoes.dk>

libgcc/
* config/gthr-vxworks.h: Rewrite remaining occurrence
of _VXW_PRE_69 as _VXWORKS_PRE(6,9).

libgcc/config/gthr-vxworks.h

index 8b55fc554075e7a253656107e803268bec5e0f53..e38174730bf01f89d30ab0dc71a6fc990af7f262 100644 (file)
@@ -286,7 +286,7 @@ typedef struct
 typedef __gthread_tcb *__gthread_t;
 
 /* Typedefs specific to different vxworks versions.  */
-#if _VXW_PRE_69
+#if _VXWORKS_PRE(6,9)
   typedef int _Vx_usr_arg_t;
   #define TASK_ID_NULL ((TASK_ID)NULL)
   #define SEM_ID_NULL ((SEM_ID)NULL)