Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
63404bcf
Kaydet (Commit)
63404bcf
authored
May 14, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add defines for iOS
üst
6f8966f3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
5 deletions
+39
-5
endian.h
sal/inc/osl/endian.h
+19
-1
alloca.h
sal/inc/sal/alloca.h
+7
-0
config.h
sal/inc/sal/config.h
+11
-0
macro.hxx
sal/rtl/source/macro.hxx
+2
-4
No files found.
sal/inc/osl/endian.h
Dosyayı görüntüle @
63404bcf
...
...
@@ -130,13 +130,31 @@ extern "C" {
# endif
#endif
#ifdef IOS
# include <machine/endian.h>
# if BYTE_ORDER == LITTLE_ENDIAN
# ifndef _LITTLE_ENDIAN
# define _LITTLE_ENDIAN
# endif
# elif BYTE_ORDER == BIG_ENDIAN
# ifndef _BIG_ENDIAN
# define _BIG_ENDIAN
# endif
# elif BYTE_ORDER == PDP_ENDIAN
# ifndef _PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# endif
#endif
/** Check supported platform.
*/
#if !defined(_WIN32) && \
!defined(LINUX) && !defined(NETBSD) && \
!defined(AIX) && !defined(OPENBSD) && \
!defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) && \
!defined(DRAGONFLY)
!defined(DRAGONFLY) && \
!defined(IOS)
# error "Target platform not specified !"
#endif
...
...
sal/inc/sal/alloca.h
Dosyayı görüntüle @
63404bcf
...
...
@@ -50,6 +50,13 @@
#define INCLUDED_SYS_TYPES_H
#endif
#elif defined (IOS)
#ifndef INCLUDED_SYS_TYPES_H
#include <sys/types.h>
#define INCLUDED_SYS_TYPES_H
#endif
#elif defined (WNT)
#ifndef INCLUDED_MALLOC_H
...
...
sal/inc/sal/config.h
Dosyayı görüntüle @
63404bcf
...
...
@@ -98,6 +98,17 @@
#define SAL_SYSCONFIGFILE( name ) "." name "rc"
#endif
#ifdef IOS
#define SAL_UNX
#define SAL_DLLEXTENSION
#define SAL_DLLPREFIX "lib"
#define SAL_PRGEXTENSION ".bin"
#define SAL_PATHSEPARATOR ':'
#define SAL_PATHDELIMITER '/'
#define SAL_CONFIGFILE( name ) name "rc"
#define SAL_SYSCONFIGFILE( name ) "." name "rc"
#endif
#ifdef sun
#undef sun
#define sun sun
...
...
sal/rtl/source/macro.hxx
Dosyayı görüntüle @
63404bcf
...
...
@@ -45,6 +45,8 @@
#endif
#elif defined MACOSX
#define THIS_OS "MacOSX"
#elif defined IOS
#define THIS_OS "iOS"
#elif defined NETBSD
#define THIS_OS "NetBSD"
#elif defined FREEBSD
...
...
@@ -109,8 +111,4 @@ this is inserted for the case that the preprocessor ignores error
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment