mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-11-30 07:46:51 +08:00
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
|
// Copyright (C) 2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
|
||
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||
|
|
||
|
#ifndef QPLATFORMDEFS_H
|
||
|
#define QPLATFORMDEFS_H
|
||
|
|
||
|
// Get Qt defines/settings
|
||
|
|
||
|
#include "qglobal.h"
|
||
|
|
||
|
// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
|
||
|
|
||
|
#include <unistd.h>
|
||
|
|
||
|
|
||
|
// We are hot - unistd.h should have turned on the specific APIs we requested
|
||
|
|
||
|
#include <pthread.h>
|
||
|
#include <dirent.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <grp.h>
|
||
|
#include <pwd.h>
|
||
|
#include <signal.h>
|
||
|
#include <dlfcn.h>
|
||
|
|
||
|
#include <sys/types.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
#include <sys/ipc.h>
|
||
|
#include <sys/time.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <sys/wait.h>
|
||
|
#include <netinet/in.h>
|
||
|
|
||
|
#include "../common/posix/qplatformdefs.h"
|
||
|
|
||
|
#define QT_SOCKLEN_T socklen_t
|
||
|
|
||
|
#define QT_SNPRINTF ::snprintf
|
||
|
#define QT_VSNPRINTF ::vsnprintf
|
||
|
#undef QT_OPEN_LARGEFILE
|
||
|
#define QT_OPEN_LARGEFILE 0
|
||
|
|
||
|
#endif // QPLATFORMDEFS_H
|