Skip to content

Commit

Permalink
Added definitions neeed by dlite-pyembed.c to config-paths.h
Browse files Browse the repository at this point in the history
  • Loading branch information
jesper-friis committed Oct 30, 2024
1 parent 5796328 commit 01aa724
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/config-paths.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,12 @@
#define dlite_TEMPLATES "@dlite_TEMPLATES@"
#define dlite_STORAGES "@dlite_STORAGES@"

/* dlite-pyembed.c does not imports config.h to avoid conflicts with Python .h
Include configurations needed by dlite-pyembed.c here */
#cmakedefine HAVE_SETENV
#cmakedefine HAVE__PUTENV_S
#cmakedefine HAVE_UNSETENV



#endif /* _DLITE_CONFIG_PATHS_H */

0 comments on commit 01aa724

Please sign in to comment.