pg_dllexport.patch

application/octet-stream

Filename: pg_dllexport.patch
Type: application/octet-stream
Part: 0
Message: DLL export with mingw-w64: currently a no-op

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/include/port/win32.h 2 2
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 5d41fd3..c5ba5e0 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -78,8 +78,8 @@
 #define PGDLLIMPORT __declspec (dllimport)
 #endif
 
-#ifdef _MSC_VER
-#define PGDLLEXPORT __declspec (dllexport)
+#if defined _MSC_VER || defined __MINGW64__
+#define PGDLLEXPORT __declspec (dllexport) 
 #else
 #define PGDLLEXPORT
 #endif