This is the error I get when I try compiling my mysql test program. There were no errors in my program, but in the mysql.h header file. Here are the errors:
Line 116 'SOCKET' is used as a type, but is not defined as a type.
Line 180 `SOCKET' was not declared in this scope.
Line 180 C:\Dev-Cpp\include\MySQL\mysql_com.h syntax error before `,' token.
Here is the header file line 116 (opened with Dev-C++)
Here is the header file line 180 (opened with Dec-C++)
my_socket fd; /* For Perl DBI/dbd */
The whole header file is too long, so if you need it, I will send it to you. Any help is much appreciated.
int my_connect(my_socket s, const struct sockaddr *name, unsigned int namelen,
unsigned int timeout);