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
92f34f60
Kaydet (Commit)
92f34f60
authored
Şub 16, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove HPUX support
üst
9f5042e4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
104 deletions
+4
-104
include.c
idlc/source/preproc/include.c
+0
-3
macro.c
idlc/source/preproc/macro.c
+0
-3
endian.h
sal/inc/osl/endian.h
+1
-5
config.h
sal/inc/sal/config.h
+0
-9
types.h
sal/inc/sal/types.h
+1
-1
system.h
sal/osl/os2/system.h
+1
-29
process.c
sal/osl/unx/process.c
+0
-26
system.h
sal/osl/unx/system.h
+1
-28
No files found.
idlc/source/preproc/include.c
Dosyayı görüntüle @
92f34f60
...
...
@@ -38,9 +38,6 @@
#include <string.h>
#include <fcntl.h>
#ifdef __hpux
# define _HPUX_SOURCE
#endif
#ifdef SCO
#define _IBCS2
#endif
...
...
idlc/source/preproc/macro.c
Dosyayı görüntüle @
92f34f60
...
...
@@ -32,9 +32,6 @@
#include <stdlib.h>
#include <string.h>
#ifdef __hpux
# define _HPUX_SOURCE
#endif
#ifdef SCO
# define _IBCS2
#endif
...
...
sal/inc/osl/endian.h
Dosyayı görüntüle @
92f34f60
...
...
@@ -121,10 +121,6 @@ extern "C" {
# endif
#endif
#ifdef HPUX
# include <machine/param.h>
#endif
#ifdef _WIN16
# define _LITTLE_ENDIAN
#endif
...
...
@@ -158,7 +154,7 @@ extern "C" {
*/
#if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \
!defined(LINUX) && !defined(NETBSD) && !defined(SCO) && \
!defined(AIX) && !defined(
HPUX) && !defined(
OPENBSD) && \
!defined(AIX) && !defined(OPENBSD) && \
!defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) && \
!defined(DRAGONFLY)
# error "Target platform not specified !"
...
...
sal/inc/sal/config.h
Dosyayı görüntüle @
92f34f60
...
...
@@ -115,15 +115,6 @@
#define SAL_SYSCONFIGFILE( name ) "." name "rc"
#endif
#ifdef HPUX
#define SAL_UNX
#define SAL_DLLEXTENSION ".sl"
#define SAL_DLLPREFIX "lib"
#define SAL_PRGEXTENSION ".bin"
#define SAL_CONFIGFILE( name ) name "rc"
#define SAL_SYSCONFIGFILE( name ) "." name "rc"
#endif
#ifdef sun
#undef sun
#define sun sun
...
...
sal/inc/sal/types.h
Dosyayı görüntüle @
92f34f60
...
...
@@ -105,7 +105,7 @@ typedef unsigned char sal_uInt8;
#define SAL_PRIuUINT64 "I64u"
#define SAL_PRIxUINT64 "I64x"
#define SAL_PRIXUINT64 "I64X"
#elif defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined (__GNUC__) || defined
(__hpux) || defined
(sgi)
#elif defined(__SUNPRO_CC) || defined(__SUNPRO_C) || defined (__GNUC__) || defined (sgi)
#if SAL_TYPES_SIZEOFLONG == 8
typedef
signed
long
int
sal_Int64
;
typedef
unsigned
long
int
sal_uInt64
;
...
...
sal/osl/os2/system.h
Dosyayı görüntüle @
92f34f60
...
...
@@ -276,34 +276,6 @@ extern unsigned int nanosleep(unsigned int);
# define NO_DL_FUNCTIONS
#endif
#ifdef HPUX
# define AF_IPX -1
# undef howmany
# undef MAXINT
# include <pthread.h>
# include <sys/un.h>
# include <sys/sched.h>
# include <sys/xti.h>
# include <sys/pstat.h>
# include <shadow.h>
# include <crypt.h>
# include <machine/param.h>
# define LIBPATH "SHLIB_PATH"
# define PTR_SIZE_T(s) ((int *)&(s))
# define PTR_FD_SET(s) ((int *)&(s))
# define PTHREAD_VALUE(t) ((t).field2)
# define PTHREAD_NONE_INIT { 0, -1 }
# define PTHREAD_ATTR_DEFAULT pthread_attr_default
# define PTHREAD_MUTEXATTR_DEFAULT pthread_mutexattr_default
# define PTHREAD_CONDATTR_DEFAULT pthread_condattr_default
# define pthread_detach(t) pthread_detach(&(t))
# define NO_PTHREAD_PRIORITY
# define NO_PTHREAD_SEMAPHORES
# define NO_DL_FUNCTIONS
# undef sigaction
# define PTHREAD_SIGACTION cma_sigaction
#endif
#ifdef SOLARIS
# include <shadow.h>
# include <sys/procfs.h>
...
...
@@ -356,7 +328,7 @@ char *macxp_tempnam( const char *tmpdir, const char *prefix );
#if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \
!defined(LINUX) && !defined(NETBSD) && !defined(FREEBSD) && !defined(SCO) && \
!defined(AIX) &&
!defined(HPUX) &&
\
!defined(AIX) && \
!defined(SOLARIS) && !defined(MAC) && \
!defined(MACOSX)
# error "Target plattform not specified !"
...
...
sal/osl/unx/process.c
Dosyayı görüntüle @
92f34f60
...
...
@@ -1351,32 +1351,6 @@ oslProcessError SAL_CALL osl_getProcessInfo(oslProcess Process, oslProcessData F
close
(
fd
);
}
#elif defined(HPUX)
struct
pst_status
prstatus
;
if
(
pstat_getproc
(
&
prstatus
,
sizeof
(
prstatus
),
(
size_t
)
0
,
pid
)
==
1
)
{
if
(
Fields
&
osl_Process_CPUTIMES
)
{
pInfo
->
UserTime
.
Seconds
=
prstatus
.
pst_utime
;
pInfo
->
UserTime
.
Nanosec
=
500000L
;
pInfo
->
SystemTime
.
Seconds
=
prstatus
.
pst_stime
;
pInfo
->
SystemTime
.
Nanosec
=
500000L
;
pInfo
->
Fields
|=
osl_Process_CPUTIMES
;
}
if
(
Fields
&
osl_Process_HEAPUSAGE
)
{
pInfo
->
HeapUsage
=
prstatus
.
pst_vdsize
*
PAGESIZE
;
pInfo
->
Fields
|=
osl_Process_HEAPUSAGE
;
}
return
(
pInfo
->
Fields
==
Fields
)
?
osl_Process_E_None
:
osl_Process_E_Unknown
;
}
#elif defined(LINUX)
if
(
(
Fields
&
osl_Process_CPUTIMES
)
||
(
Fields
&
osl_Process_HEAPUSAGE
)
)
...
...
sal/osl/unx/system.h
Dosyayı görüntüle @
92f34f60
...
...
@@ -300,33 +300,6 @@ extern unsigned int nanosleep(unsigned int);
# define NO_PTHREAD_SEMAPHORES
#endif
#ifdef HPUX
# define AF_IPX -1
# undef howmany
# undef MAXINT
# include <pthread.h>
# include <sys/un.h>
# include <sys/sched.h>
# include <sys/xti.h>
# include <sys/pstat.h>
# include <shadow.h>
# include <crypt.h>
# include <machine/param.h>
# define LIBPATH "SHLIB_PATH"
# define PTR_FD_SET(s) ((int *)&(s))
# define PTHREAD_VALUE(t) ((t).field2)
# define PTHREAD_NONE_INIT { 0, -1 }
# define PTHREAD_ATTR_DEFAULT pthread_attr_default
# define PTHREAD_MUTEXATTR_DEFAULT pthread_mutexattr_default
# define PTHREAD_CONDATTR_DEFAULT pthread_condattr_default
# define pthread_detach(t) pthread_detach(&(t))
# define NO_PTHREAD_PRIORITY
# define NO_PTHREAD_SEMAPHORES
# define NO_DL_FUNCTIONS
# undef sigaction
# define PTHREAD_SIGACTION cma_sigaction
#endif
#ifdef SOLARIS
# include <shadow.h>
# include <sys/un.h>
...
...
@@ -392,7 +365,7 @@ int macxp_resolveAlias(char *path, int buflen);
#if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \
!defined(LINUX) && !defined(NETBSD) && !defined(FREEBSD) && !defined(SCO) && \
!defined(AIX) &&
!defined(HPUX) &&
\
!defined(AIX) && \
!defined(SOLARIS) && !defined(MACOSX) && \
!defined(OPENBSD) && !defined(DRAGONFLY)
# error "Target platform not specified!"
...
...
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