Browse Source

+ put conditional define around UNIX port display for win32

michael 26 years ago
parent
commit
0455538346
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/mysql/testdb.pp

+ 2 - 0
packages/mysql/testdb.pp

@@ -32,8 +32,10 @@ begin
     end;
   Writeln ('Done.');
   Writeln ('Connection data:');
+{$ifdef linux}  
   writeln ('Mysql_port      : ',mysql_port);
   writeln ('Mysql_unix_port : ',mysql_unix_port);
+{$endif}  
   writeln ('Host info       : ',mysql_get_host_info(sock));
   writeln ('Server info     : ',mysql_stat(sock)); 
   writeln ('Client info     : ',mysql_get_client_info);