The first approach was simply to have #ifdefs in code for the two systems supported; for instance, BSD and System V.
第一个方法很简单,在代码中使用 #ifdef 以支持两种系统,例如 BSD 和 System V。
For example, the code above will record a tile with a filename like v=w2.80&hl=en&x=228&y=4&zoom=15&s=Gal to be at position 0,4 in the (column,row) hash.
例如,以上的代码将把文件名为 v=w2.80&hl=en&x=228&y=4&zoom=15&s=Gal 的图像块记录到 (column,row) 散列中的位置 0,4 中。
Note that installing Samba from source code does not install a System V (SysV) or Upstart startup script, so Samba will not start automatically when you reboot the computer.
注意,通过源代码安装Samba不需要安装System V (SysV)或Upstart启动脚本,因此在您重启计算机时Samba不会自动启动。
应用推荐