Selaa lähdekoodia

+ put conditional define around UNIX port display for win32

michael 26 vuotta sitten
vanhempi
commit
0455538346
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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);