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
c4a8ba90
Kaydet (Commit)
c4a8ba90
authored
Ara 06, 2012
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Put stubs for removed functionality into compat.cxx
Change-Id: I634c6c699f8573113cdf0763c2cc83dcc04b0b0e
üst
93fce951
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
21 deletions
+20
-21
Library_sal.mk
sal/Library_sal.mk
+1
-1
compat.cxx
sal/osl/all/compat.cxx
+19
-20
No files found.
sal/Library_sal.mk
Dosyayı görüntüle @
c4a8ba90
...
...
@@ -97,6 +97,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,sal,\
endif
$(eval
$(call
gb_Library_add_exception_objects,sal,\
sal/osl/all/compat
\
sal/osl/all/debugbase
\
sal/osl/all/loadmodulerelative
\
sal/osl/all/log
\
...
...
@@ -138,7 +139,6 @@ $(eval $(call gb_Library_add_exception_objects,sal,\
))
$(eval
$(call
gb_Library_add_cobjects,sal,\
sal/osl/all/filepath
\
sal/osl/all/semaphor
\
))
ifeq
($(OS),IOS)
...
...
sal/osl/all/
semaphor.c
→
sal/osl/all/
compat.cxx
Dosyayı görüntüle @
c4a8ba90
...
...
@@ -7,37 +7,36 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <sal/types.h>
#include "sal/config.h"
#include <cstdlib>
#include "sal/types.h"
// Stubs for removed functionality, to be killed when we bump sal SONAME
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
osl_createSemaphore
(
sal_uInt32
dummy
)
{
(
void
)
dummy
;
return
NULL
;
extern
"C"
{
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_acquireSemaphore
(
void
*
)
{
for
(;;)
{
std
::
abort
();
}
// avoid "must return a value" warnings
}
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
osl_createSemaphore
(
sal_uInt32
)
{
for
(;;)
{
std
::
abort
();
}
// avoid "must return a value" warnings
}
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
osl_destroySemaphore
(
void
*
dummy
)
{
(
void
)
dummy
;
SAL_DLLPUBLIC_EXPORT
void
SAL_CALL
osl_destroySemaphore
(
void
*
)
{
std
::
abort
();
}
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_acquireSemaphore
(
void
*
dummy
)
{
(
void
)
dummy
;
return
sal_False
;
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_releaseSemaphore
(
void
*
)
{
for
(;;)
{
std
::
abort
();
}
// avoid "must return a value" warnings
}
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_tryToAcquireSemaphore
(
void
*
dummy
)
{
(
void
)
dummy
;
return
sal_False
;
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_tryToAcquireSemaphore
(
void
*
)
{
for
(;;)
{
std
::
abort
();
}
// avoid "must return a value" warnings
}
SAL_DLLPUBLIC_EXPORT
sal_Bool
SAL_CALL
osl_releaseSemaphore
(
void
*
dummy
)
{
(
void
)
dummy
;
return
sal_False
;
}
/* 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