-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove ac_cfg.h from libavrdude.h #820
Conversation
On MSVC, this is required in order to have a definition of PATH_MAX in place.
I have used the following code: #include <stdio.h>
#include "libavrdude.h"
int main(int argc, char **argv)
{
AVRMEM *mem = avr_new_memtype();
printf("Hello world\n");
return 0;
}
|
Yes, we should document that. ;-) Btw., it's on purpose that this needs to be provided by the application: if you want to build a GUI app (which was the original idea behind splitting off the backend functionality into a library), you certainly don't want to see those messages go to a console terminal, but somehow create a GUI message box out of that. |
With |
Inclusion of ac_cfg.h is not needed, and contradicts the library idea.