This was broken and reverted in a previous commit. The (this time verified)
fix is to simly add postgres_fe.h.
MauMau, review by Amit Kapila
*/
+#include "postgres_fe.h"
+
#include <windows.h>
#include <olectl.h>
#include <string.h>
* The maximum length of a registry key is 255 characters.
* http://msdn.microsoft.com/en-us/library/ms724872(v=vs.85).aspx
*/
-char event_source[256] = "PostgreSQL";
+char event_source[256] = DEFAULT_EVENT_SOURCE;
/* Prototypes */
HRESULT DllInstall(BOOL bInstall, LPCWSTR pszCmdLine);