SunOS cosmetic changes

Signed-off-by: Denis Kozadaev <denis@dilos.org>
pull/17/head
Denis Kozadaev 2 years ago
parent 27f4b4e178
commit 610666ca37

@ -123,6 +123,7 @@ endif( BUILD_KIG AND WITH_KIG_PYTHON_SCRIPTING )
##### check for headers ##### check for headers
check_include_file( stdint.h HAVE_STDINT_H ) check_include_file( stdint.h HAVE_STDINT_H )
check_include_file( ieeefp.h HAVE_IEEEFP_H )
##### check for TIMEZONE_IS_INT ##### check for TIMEZONE_IS_INT

@ -36,3 +36,6 @@
// Defined to 1 if timezone is available as a variable // Defined to 1 if timezone is available as a variable
#cmakedefine TIMEZONE_IS_INT 1 #cmakedefine TIMEZONE_IS_INT 1
// Defined to 1 if you have <ieeefp.h> header file.
#cmakedefine HAVE_IEEEFP_H 1

@ -10,6 +10,10 @@
#ifndef APOGEELINUX_H #ifndef APOGEELINUX_H
#define APOGEELINUX_H #define APOGEELINUX_H
#ifdef Q_OS_SOLARIS
#include <sys/ioccom.h>
#endif /* solaris */
#define APISA_READ_USHORT _IOR('a', 0x01, unsigned int) #define APISA_READ_USHORT _IOR('a', 0x01, unsigned int)
#define APISA_READ_LINE _IOR('a', 0x02, unsigned int) #define APISA_READ_LINE _IOR('a', 0x02, unsigned int)
#define APISA_WRITE_USHORT _IOW('a', 0x03, unsigned int) #define APISA_WRITE_USHORT _IOW('a', 0x03, unsigned int)

Loading…
Cancel
Save