Created
July 8, 2014 19:55
-
-
Save qpfiffer/74791212d16f54115692 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// WEBRTC stuff: | |
#include "talk/base/logging.h" | |
#include "talk/base/stringutils.h" | |
#include "talk/base/common.h" | |
#include "talk/base/physicalsocketserver.h" | |
#include "talk/base/ssladapter.h" | |
#include "talk/base/thread.h" | |
// Have to undef some stuff here because the compiler yells about it. Postgres | |
// has it's own versions. | |
#pragma push_macro("closesocket") | |
#undef closesocket | |
#pragma push_macro("LOG") | |
#undef LOG | |
extern "C" { | |
#include "postgres.h" | |
#include "postmaster/bgworker.h" | |
#include "storage/ipc.h" | |
#include "storage/latch.h" | |
#include "storage/proc.h" | |
#include "fmgr.h" | |
PG_MODULE_MAGIC; | |
} | |
#pragma pop_macro("LOG") | |
#pragma pop_macrot("closesocket") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment