Skip to content

Commit

Permalink
Don't define MODULE_NAME as a string literal
Browse files Browse the repository at this point in the history
The `MODULE_NAME` macro is used in contexts where a string literal is
not valid, but the fallback value set in `src/common.h` defines it as
such; this differs from how it is defined in `setup.py`. Define
`MODULE_NAME` in `src/common.h` as it is defined in `setup.py`.

Fixes #267.
  • Loading branch information
chrisnovakovic committed Oct 12, 2023
1 parent 1563947 commit f261783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "debug.h"

#ifndef MODULE_NAME
#define MODULE_NAME "xmlsec"
#define MODULE_NAME xmlsec
#endif

#define JOIN(X,Y) DO_JOIN1(X,Y)
Expand Down

0 comments on commit f261783

Please sign in to comment.