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
7315ce26
Kaydet (Commit)
7315ce26
authored
Haz 09, 2010
tarafından
obo
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS kfreebsdport01v2
üst
99ff4b15
22e6570c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
2 deletions
+17
-2
file_volume.cxx
sal/osl/unx/file_volume.cxx
+6
-0
system.h
sal/osl/unx/system.h
+5
-0
util.c
sal/osl/unx/util.c
+2
-2
macro.hxx
sal/rtl/source/macro.hxx
+4
-0
No files found.
sal/osl/unx/file_volume.cxx
Dosyayı görüntüle @
7315ce26
...
...
@@ -46,6 +46,12 @@
#undef HAVE_STATFS_H
#endif
#if defined(LINUX) && defined(__FreeBSD_kernel__)
#undef LINUX
#define FREEBSD 1
#endif
#if defined(SOLARIS)
#include <sys/mnttab.h>
...
...
sal/osl/unx/system.h
Dosyayı görüntüle @
7315ce26
...
...
@@ -123,6 +123,11 @@
# define NO_PTHREAD_PRIORITY
# define PTHREAD_SIGACTION pthread_sigaction
#endif
# ifndef ETIME
# define ETIME ETIMEDOUT
# endif
#endif
#ifdef NETBSD
...
...
sal/osl/unx/util.c
Dosyayı görüntüle @
7315ce26
...
...
@@ -162,7 +162,7 @@ static int osl_getHWAddr(const char *ifname, char* hard_addr)
* And now, the real thing: the get address
*/
#ifdef
LINUX
#ifdef
SIOCGIFHWADDR
ret
=
ioctl
(
so
,
SIOCGIFHWADDR
,
&
ifr
);
#else
ret
=
ioctl
(
so
,
SIOCGIFADDR
,
&
ifr
);
...
...
@@ -177,7 +177,7 @@ static int osl_getHWAddr(const char *ifname, char* hard_addr)
close
(
so
);
#ifdef
LINUX
#ifdef
SIOCGIFHWADDR
memcpy
(
hard_addr
,
ifr
.
ifr_hwaddr
.
sa_data
,
8
);
#else
memcpy
(
hard_addr
,
ifr
.
ifr_ifru
.
ifru_addr
.
sa_data
,
8
);
...
...
sal/rtl/source/macro.hxx
Dosyayı görüntüle @
7315ce26
...
...
@@ -39,7 +39,11 @@
#elif defined SOLARIS
#define THIS_OS "Solaris"
#elif defined LINUX
#ifdef __FreeBSD_kernel__
#define THIS_OS "kFreeBSD"
#else
#define THIS_OS "Linux"
#endif
#elif defined MACOSX
#define THIS_OS "MacOSX"
#elif defined NETBSD
...
...
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