Skip to content

Use strdup on non-Windows systems#17

Merged
davecramer merged 1 commit intopostgresql-interfaces:mainfrom
apgrucza:fix/strdup
May 13, 2024
Merged

Use strdup on non-Windows systems#17
davecramer merged 1 commit intopostgresql-interfaces:mainfrom
apgrucza:fix/strdup

Conversation

@apgrucza
Copy link
Contributor

@apgrucza apgrucza commented May 13, 2024

Prior to #6, psqlODBC only used _strdup on Windows builds. Although _strdup is part of ISO C and C++, it does not compile on all systems.

Fixes #15.

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

Successfully merging this pull request may close these issues.

#define pg_strdup _strdup

2 participants