Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is LL_MASK for? #20

Open
MartinKoeditz opened this issue May 18, 2021 · 2 comments
Open

What is LL_MASK for? #20

MartinKoeditz opened this issue May 18, 2021 · 2 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@MartinKoeditz
Copy link
Collaborator

Maybe someone can help me.

In php_ibase_includes.c I had to change the code since it doesn't work anymore on PHP 8.0 and Windows:

#ifdef PHP_WIN32
// Case switch, because of troubles on Windows and PHP 8.0
#if PHP_VERSION_ID < 80000
   #define LL_MASK "I64"
#else
   #define LL_MASK "ll"
#endif
#define LL_LIT(lit) lit ## I64
typedef void (__stdcall *info_func_t)(char*);
#else
#define LL_MASK "ll"
#define LL_LIT(lit) lit ## ll
typedef void (*info_func_t)(char*);
#endif

What are LL_MASK "I64" and LL_MASK "ll" doing? And where are they defined?

@MartinKoeditz MartinKoeditz added help wanted Extra attention is needed question Further information is requested labels May 18, 2021
@AlexPeshkoff
Copy link
Member

AlexPeshkoff commented May 18, 2021 via email

@mrotteveel
Copy link
Member

Maybe this helps: https://bugs.php.net/bug.php?id=60052

Maybe @mapopa can tell you more about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants