Fix compilation of qfilesystemengine on VxWorks

Change-Id: I533f262bf6624008d216d96aa29ae2dfc4ba9195
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Jacek Poplawski 2023-07-24 09:07:42 +02:00
parent 63824363ab
commit 43480998ef
2 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,8 @@
#define QT_SNPRINTF ::snprintf
#define QT_VSNPRINTF ::vsnprintf
#define S_ISVTX 01000
/* vxworks exposes these definitions only when _POSIX_C_SOURCE >=200809L but we don't want to set this, as it hides other API */
#ifndef UTIME_NOW
# define UTIME_NOW ((1l << 30) - 1l)

View File

@ -12,6 +12,7 @@
#include <QtCore/qoperatingsystemversion.h>
#include <QtCore/private/qcore_unix_p.h>
#include <QtCore/private/qfiledevice_p.h>
#include <QtCore/private/qfunctions_p.h>
#include <QtCore/qvarlengtharray.h>
#ifndef QT_BOOTSTRAPPED
# include <QtCore/qstandardpaths.h>