mod_go icon indicating copy to clipboard operation
mod_go copied to clipboard

This mod_go.c will not compile

Open alextr98 opened this issue 10 years ago • 3 comments

C has no bool type. So error in line 182 - bool error = false;

alextr98 avatar Apr 03 '14 15:04 alextr98

Won't compile in CentOS - it has modules in /usr/lib/httpd and /usr/lib64/httpd respectively

alextr98 avatar Apr 03 '14 15:04 alextr98

I am sure that all the C compilers implement ansi and therefore implement the bool type.

stevenclarke9 avatar Mar 22 '17 02:03 stevenclarke9

Add #include <stdbool.h> and it will work fine ;)

Ceda avatar May 02 '17 20:05 Ceda