Commit 61fd4d56 authored by unknown's avatar unknown

Fix for Windows build by adding pack.c to appropriate .dsp files


libmysql/libmysql.c:
  Fix for Windows builds
VC++Files/client/mysqlclient.dsp:
  Added pack.c
VC++Files/libmysql/libmysql.dsp:
  Added pack.c
parent d6e9a39a
...@@ -414,6 +414,10 @@ SOURCE=..\sql\net_serv.cpp ...@@ -414,6 +414,10 @@ SOURCE=..\sql\net_serv.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=..\libmysql\pack.c
# End Source File
# Begin Source File
SOURCE=..\libmysql\password.c SOURCE=..\libmysql\password.c
# End Source File # End Source File
# Begin Source File # Begin Source File
......
...@@ -215,6 +215,10 @@ SOURCE=.\libmysql.c ...@@ -215,6 +215,10 @@ SOURCE=.\libmysql.c
# End Source File # End Source File
# Begin Source File # Begin Source File
SOURCE=.\pack.c
# End Source File
# Begin Source File
SOURCE=.\Libmysql.def SOURCE=.\Libmysql.def
# End Source File # End Source File
# Begin Source File # Begin Source File
......
...@@ -117,6 +117,9 @@ static my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list); ...@@ -117,6 +117,9 @@ static my_bool stmt_close(MYSQL_STMT *stmt, my_bool skip_list);
static void fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count); static void fetch_lengths(ulong *to, MYSQL_ROW column, uint field_count);
static my_bool org_my_init_done=0; static my_bool org_my_init_done=0;
extern ulong STDCALL net_field_length(uchar **packet);
extern my_ulonglong net_field_length_ll(uchar **packet);
int STDCALL mysql_server_init(int argc __attribute__((unused)), int STDCALL mysql_server_init(int argc __attribute__((unused)),
char **argv __attribute__((unused)), char **argv __attribute__((unused)),
char **groups __attribute__((unused))) char **groups __attribute__((unused)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment