Would it be possible to add something like
#define SHTTPD_MAJOR_VERSION 1
#define SHTTPD_MINOR_VERSION 41
#define SHTTPD_MICRO_VERSION 0
to shttpd.h?
This would allow applications to check the version at compile time, select
the matching API calls or generate a compile-time error.
The only downside I can think of is that version information needs to be
maintained at 2 places in the code, shttpd.h and config.h (VERSION).
Thanks
Philip
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
shttpd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shttpd-general