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
0a8b02ad
Kaydet (Commit)
0a8b02ad
authored
Mar 07, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
trying to make the whole mariadb sundry on windows
Change-Id: I5d775272ba83752fdafe7b7b702a67e8c76e605a
üst
5c18df9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletion
+26
-1
UnpackedTarball_mariadb.mk
libmariadb/UnpackedTarball_mariadb.mk
+1
-0
mariadb-swap.patch
libmariadb/mariadb-swap.patch
+24
-0
config.h
mysqlcppconn/config.h
+1
-1
No files found.
libmariadb/UnpackedTarball_mariadb.mk
Dosyayı görüntüle @
0a8b02ad
...
@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,mariadb,1))
...
@@ -21,6 +21,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,mariadb,1))
$(eval $(call gb_UnpackedTarball_add_patches,mariadb,\
$(eval $(call gb_UnpackedTarball_add_patches,mariadb,\
libmariadb/mariadb-thread.patch \
libmariadb/mariadb-thread.patch \
libmariadb/mariadb-swap.patch \
))
))
# vim: set noet sw=4 ts=4:
# vim: set noet sw=4 ts=4:
libmariadb/mariadb-swap.patch
0 → 100644
Dosyayı görüntüle @
0a8b02ad
--- mariadb/include/global.h 2013-03-06 17:06:42.545906061 +0100
+++ mariadb/include/global.h 2013-03-07 14:45:03.811128674 +0100
@@ -247,7 +247,9 @@
#endif
#define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
+#ifndef __cplusplus
#define swap(t,a,b) { register t dummy; dummy = a; a = b; b = dummy; }
+#endif
#define test(a) ((a) ? 1 : 0)
#define set_if_bigger(a,b) { if ((a) < (b)) (a)=(b); }
#define set_if_smaller(a,b) { if ((a) > (b)) (a)=(b); }
--- mariadb/include/my_global.h 2013-03-06 17:06:42.546906037 +0100
+++ mariadb/include/my_global.h 2013-03-07 14:44:47.032529753 +0100
@@ -278,7 +278,9 @@
#endif
#define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
+#ifndef __cplusplus
#define swap(t,a,b) { register t dummy; dummy = a; a = b; b = dummy; }
+#endif
#define test(a) ((a) ? 1 : 0)
#define set_if_bigger(a,b) { if ((a) < (b)) (a)=(b); }
#define set_if_smaller(a,b) { if ((a) > (b)) (a)=(b); }
mysqlcppconn/config.h
Dosyayı görüntüle @
0a8b02ad
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
#include <inttypes.h>
#include <inttypes.h>
#endif
#endif
#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H)
&& !defined(_MSC_VER)
#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H)
// if we do not have the standard C99 integer types, then define them based on the respective SAL types
// if we do not have the standard C99 integer types, then define them based on the respective SAL types
#if !defined(_SYS_TYPES_H)
#if !defined(_SYS_TYPES_H)
...
...
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