search for: __win32__

Displaying 15 results from an estimated 15 matches for "__win32__".

2014 Feb 13
3
Libguestfs (1.22.6) driver/changes for mingw/win32
Hi, I attached the changes I made to a vanilla libguestfs-1.22.6 in order to make it work in mingw/win32. Added is also the patch required to make QEMU compatible (add a command to QMP that lists the supported devices (the regilat way you do it print it to stderr, which is difficult to redirect in win32)). This is done on behalf of Intel Corp. Thanks, Or (oberon in irc)
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Seems pretty clear cut to me. #if defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_INT) && defined (HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG) ... #elif defined(__WIN32__) ... #elif defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT) && defined (HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG) ... #else #error unknown atomic compare-and-swap primitive #endif The problem isn't mismatched #if/#endif. The #error says it all, cmake couldn't detect an appropriate atomi...
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
No, As it worked fine before. I can't see the #if that goes with +#elif defined(__WIN32__) as you removed -#if TARGET_OS_MAC. Please go over your #if / #endif blocks and trail the #endif with a comment. I am willing to bet there is a problem there. Thanks for your time, Edward. 2009/9/23 Shantonu Sen <ssen at apple.com>: > Sounds like your system compiler doesn't support...
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
...ess you have already committed something by then. Cheers, Edward. 2009/9/23 Shantonu Sen <ssen at apple.com>: > Seems pretty clear cut to me. > > #if defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_INT) && > defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG) > ... > #elif defined(__WIN32__) > ... > #elif defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT) && > defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG) > ... > #else > #error unknown atomic compare-and-swap primitive > #endif > > The problem isn't mismatched #if/#endif. The #error says it all, cmake...
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
...n. > > Cheers, > Edward. > > 2009/9/23 Shantonu Sen <ssen at apple.com>: >> Seems pretty clear cut to me. >> >> #if defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_INT) && >> defined(HAVE_OSATOMIC_COMPARE_AND_SWAP_LONG) >> ... >> #elif defined(__WIN32__) >> ... >> #elif defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_INT) && >> defined(HAVE_SYNC_BOOL_COMPARE_AND_SWAP_LONG) >> ... >> #else >> #error unknown atomic compare-and-swap primitive >> #endif >> >> The problem isn't mismatched #if/#e...
2015 Jul 05
0
Trouble installing xapian on windows
...p( period, 0 ); } > ^ I guess this is either mingw vs mingw-w64 difference, or a version difference, as the headers of the version that the buildbot has define sleep() rather differently. A quick local fix which should make it work is to modify common/safeunistd.h and change: #ifdef __WIN32__ into: #if 0 > 2)Even if i would be able to compile xapian with mingw, could i use it > in my project (c++) that is supposed to be compiled by MSVC? You can mix C code compiled with mingw and MSVC, but you can't mix C++ code: http://www.mingw.org/wiki/Interoperability_of_Libraries_Cre...
2015 Sep 14
1
xapian-core-1.2.21 ported to Interix / 'gmake check' compile error
...ch undeclared identifier is reported only once for each function it appears in.) 'htons' needed to be defined, which on Interix is in /usr/include/arpa/inet.h and /net/tcpclient.cc was modified as adding #include <arpa/inet.h> #include <cmath> #include <cstring> #ifndef __WIN32__ # include "safenetdb.h" # include <netinet/in.h> # include <netinet/tcp.h> # include <arpa/inet.h> # include <sys/socket.h> #else # include "safewinsock2.h" #endif perhaps there is a better location to add '#include <arpa/inet.h>' as in an...
2006 Jul 13
1
Binding to a local IP address when mounting smb file system.
...; } 2) I need to be able to specify the local Network device name. This will be used to also help bind to a specific local interface. This will be passed to setsockopt before the connect() is called. Example code: if (dev_to_bind_to) { // Bind to specific device. #ifndef __WIN32__ if (setsockopt(s, SOL_SOCKET, SO_BINDTODEVICE, dev_to_bind_to, DEV_NAME_LEN + 1)) { VLOG_ERR(VLOG << "ERROR: tcp-connect, setsockopt (BINDTODEVICE): " << LFSTRERROR << " Not fatal in most cases..continuing...
2015 Oct 07
0
brass and chert compiled / xapian port to Interix
....cc - Xapian::Query q(q.OP_PHRASE, qterms, qterms + 2, 5); + Xapian::Query q(Xapian::Query::OP_PHRASE, qterms, qterms + 2, 5); cf: http://permalink.gmane.org/gmane.comp.search.xapian.general/9880 /xapian-core-1.2.21/net/tcpclient.cc #include <cmath> #include <cstring> #ifndef __WIN32__ # include "safenetdb.h" # include <netinet/in.h> # include <netinet/tcp.h> +# include <arpa/inet.h> # include <sys/socket.h> #else # include "safewinsock2.h" #endif cf: http://permalink.gmane.org/gmane.comp.search.xapian.general/9862 dependencies...
2015 Jul 04
2
Trouble installing xapian on windows
Hello, i am trying to install xapian on windows. As the xapian download page says, there are two options here: 1) mingw 2) a separate set of makefiles for MSVC. If i understand correctly, MSVC is supported only by xapian 1.2.8 and older, so i decided to try mingw. The configure script worked perfectly, but "make" finished with a error (see the output below). So far i have two
2006 Nov 26
0
[758] trunk/wxruby2: i18n support: added Locale class, methods for get/set languages & encodings
...R) +* description (Human readable string name of the language) </ins><span class="cx"> </span><del>- struct WXDLLEXPORT LanguageInfo - { - int Language; // Language id - String CanonicalName; // Canonical name, e.g. fr_FR - #ifdef __WIN32__ - Uint32 WinLang, WinSublang; // Win32 language identifiers - // (LANG_xxxx, SUBLANG_xxxx) - #endif - String Description; // human-readable name of the language - }; - </del><ins>+The value of _Language_ should be greater than @Wx...
2003 Nov 07
6
DnD
Hi! Is drag''n''drop works currently under wxruby? I want an app, where you can drag files from a wxlistctrl to a wxtreectrl. Can anyone show a little example? Gergo -- +-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+ | http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy | | Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval
2009 Sep 23
0
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Sounds like your system compiler doesn't support gcc-style builtin atomics. Please use a different compiler? Shantonu Sent from my MacBook On Sep 22, 2009, at 7:54 PM, Edward O'Callaghan wrote: > Breaks Builds on Solaris and AuroraUX with: > > bash-3.2$ make > Scanning dependencies of target BlocksRuntime > [ 1%] Building C object
2009 Sep 23
2
[LLVMdev] [llvm-commits] [PATCH] BlocksRuntime updates for Linux
Breaks Builds on Solaris and AuroraUX with: bash-3.2$ make Scanning dependencies of target BlocksRuntime [ 1%] Building C object BlocksRuntime/CMakeFiles/BlocksRuntime.dir/runtime.c.o /export/home/edward/lab/llvm/build/compiler-rt/BlocksRuntime/runtime.c:77:2: error: #error unknown atomic compare-and-swap primitive /export/home/edward/lab/llvm/build/compiler-rt/BlocksRuntime/runtime.c: In
2008 Feb 28
2
Can't get xapian-core 1.05 to build under windows xp
...quot; Microsoft (R) Program Maintenance Utility Version 6.00.9782.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. if exist "..\win32\makedepend.exe" ..\win32\makedepend.exe -- -nologo -c -Zi -I.. -I..\include -I..\common -W3 - EHsc -D "WIN32" -D "__WIN32__" -D "_WIN32" -D "_WINDOWS" -D "HAVE_VSNPRINTF" -D "HAVE_STRDUP" -D "_USE_32BIT_TIME_T" -D_CRT_SECURE_NO_DEPRECATE -I "\work\zlib123-dll\include" -O2 -MD -D NDEBUG -Fo".\\" -Tp -- .\utils.cc .\getopt.cc .\ omdebug.cc .\s...