Skip to content

Commit

Permalink
Patch off_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Feb 4, 2024
1 parent 9aeb0ef commit 3cf036e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions recipes/libdwarf/all/patches/0.9.0-0001-fixes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,19 @@ index ed3d1d0b..91f2fd8b 100644
# ifdef LIBDWARF_BUILD
# define DW_API __declspec(dllexport)
# else /* !LIBDWARF_BUILD */
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

0 comments on commit 3cf036e

Please sign in to comment.