Commit Graph

4 Commits (347b65df921341bde83a54309ad3be5e56e59d23)

Author SHA1 Message Date
nirenjan aa0a5545d0 Remove the use of config.h
Prior to this change, pinelog relied on an autoconf generated config.h
which checked if the compiler supports __attribute__ with constructor,
destructor and format. However, most modern compilers already have
support for this, and we can use the __has_attribute special operator
instead to check for this at compile time.

By eliminating the need to create a config.h file, it simplifies
integration into other projects that may not have one.
2021-08-25 12:07:40 -07:00
nirenjan 68d5aaef66 Update README to include destructor attribute 2021-07-16 08:33:22 -07:00
nirenjan 85ab66b323 Add usage and integration instructions to README 2021-07-14 12:32:12 -07:00
nirenjan 45762f497c Initial commit 2021-07-13 10:57:22 -07:00