vcpkg/ports/libdwarf/off_t.diff
Jeremy Rifkin 809e93f524
[libdwarf] New port (#34382)
* Try to add libdwarf

* Has

* fix

* hash

* fixes

* hash

* Fixes

* bump hash

* zlib fix

* bump hash

* fix

* bump hash

* fixes

* Bump hash

* fix

* bump

* x

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* fix

* bump

* Try this

* bump

* cleanup

* bump

* Update patches

* bump hash

* fix whitespace

* bump

* Update usage

* Bump

* Update portfile and patches (#1)

* Re-introduce off_t patch

* Bump

* Fix patch

* Bump

* Usage is now correct

* Bump

* Revert "Usage is now correct"

This reverts commit 54b32d172de8abd916589f781065c87d3afaaaf2.

* Bump

---------

Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-10-31 12:31:57 -07:00

17 lines
437 B
Diff

diff --git a/src/lib/libdwarf/libdwarf_private.h b/src/lib/libdwarf/libdwarf_private.h
index b37ae994..7fa89256 100644
--- a/src/lib/libdwarf/libdwarf_private.h
+++ b/src/lib/libdwarf/libdwarf_private.h
@@ -26,11 +26,7 @@
#ifdef _MSC_VER /* Macro to select VS compiler */
#include <windows.h>
typedef SSIZE_T ssize_t;
-#ifdef _WIN64
-typedef long long off_t;
-#else
typedef long off_t;
-#endif
#endif /* _MSC_VER */
#ifndef TRUE