Sha256: c68ce394c084ad522e44f97acaae97a0379677a58682b9dc6e9b5b1f2bd206a1
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
#include <stdlib.h> #define ASSERT(x) \ do{ \ if(!(x)){ \ printf("failed assert (%d): %s\n", __LINE__, #x); \ exit(1); \ }\ }while(0) #ifdef _WIN32 #define INIT_SOCKETS_FOR_WINDOWS \ do{ \ WSADATA out; \ WSAStartup(MAKEWORD(2,2), &out); \ } while(0) #else #define INIT_SOCKETS_FOR_WINDOWS do {} while(0) #endif
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bson_ext-1.5.1 | ext/cmongo/c-driver/test/test.h |
bson_ext-1.5.0.rc0 | ext/cmongo/c-driver/test/test.h |
bson_ext-1.4.0 | ext/cmongo/c-driver/test/test.h |