* *
* C Implementation File *
* *
- * Copyright (C) 1992-2005, Free Software Foundation, Inc. *
+ * Copyright (C) 1992-2006, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
#if defined (__vxworks)
#ifdef __RTP__
#include <time.h>
+#include <version.h>
+#if (_WRS_VXWORKS_MINOR != 0)
+#include <sys/time.h>
+#endif
#else
#include <sys/times.h>
#endif
* *
* C Implementation File *
* *
- * Copyright (C) 2002-2003, Free Software Foundation, Inc. *
+ * Copyright (C) 2002-2006, Free Software Foundation, Inc. *
* *
* GNAT is free software; you can redistribute it and/or modify it under *
* terms of the GNU General Public License as published by the Free Soft- *
#ifdef __vxworks
#include "vxWorks.h"
+#include <version.h>
#endif /* __vxworks */
#ifdef IN_RTS
int
__gnat_mkdir (char *dir_name)
{
-#if defined (_WIN32) || defined (__vxworks)
+#if defined (_WIN32) || (defined (__vxworks) \
+ && !(defined (__RTP__) && (_WRS_VXWORKS_MINOR != 0)))
return mkdir (dir_name);
#else
return mkdir (dir_name, S_IRWXU | S_IRWXG | S_IRWXO);