1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/palm/synce-vdccm/files/patch-src_windowscedevice.cpp
Pietro Cerutti 2821dcf672 - Unbreak on sparc64
- Add USE_LDCONFIG variable (the port installed shared libs)

Approved by:	miwi (mentor)
2008-04-15 10:17:35 +00:00

16 lines
421 B
C++

--- src/windowscedevice.cpp.orig 2008-04-15 11:28:35.000000000 +0200
+++ src/windowscedevice.cpp 2008-04-15 11:37:11.000000000 +0200
@@ -29,6 +29,12 @@
#include <devicemanager.h>
+#if defined(__FreeBSD__) && defined(__sparc64__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#endif
+
using namespace std;
WindowsCEDevice::WindowsCEDevice(int fd, TCPServerSocket *tcpServerSocket)