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

How do you compile for Windows? #86

Open
gitartdev opened this issue Sep 27, 2024 · 0 comments
Open

How do you compile for Windows? #86

gitartdev opened this issue Sep 27, 2024 · 0 comments

Comments

@gitartdev
Copy link

I've successfully compiled pgaudit for windows but I can't get set_user to compile against PostgreSQL 16. I've tried multiple versions. Version 4.1.0 returns the error:

C:\dev\set_user_cl>cl /c @.\compile_response_file.txt .\set_user.c
set_user.c
C:\Program Files\PostgreSQL\16\include\server\pg_config_manual.h(141): warning C4005: 'EXEC_BACKEND': macro redefinition
C:\dev\set_user_cl\set_user.c: note: see previous definition of 'EXEC_BACKEND'
C:\dev\set_user_cl\set_user.c(190): error C2375: 'set_user': redefinition; different linkage
C:\dev\set_user_cl\set_user.c(101): note: see declaration of 'set_user'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant