bug-libunistring
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libunistring] [bug #59491] The _imp_ symbol for x64


From: kenjiuno
Subject: [bug-libunistring] [bug #59491] The _imp_ symbol for x64
Date: Fri, 20 Nov 2020 06:30:26 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?59491>

                 Summary: The _imp_ symbol for x64
                 Project: GNU libunistring
            Submitted by: kenjiuno
            Submitted on: Fri 20 Nov 2020 11:30:24 AM UTC
                Category: Build
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In woe32dll/export.h


/* IMP(x) is a symbol that contains the address of x.  */
# define IMP(x) _imp__##x


I think that 64 bit version (x86_64-w64-mingw32 for example) needs to cut
leading one underscore.


 /* IMP(x) is a symbol that contains the address of x.  */
#if __LP64__ 
# define IMP(x) _imp_##x
#else
# define IMP(x) _imp__##x
#endif


I don't know if __LP64__ is good selection, or not.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59491>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]