The International Simutrans Forum

 

Author Topic: Fix for comile error when compiling with zstd  (Read 288 times)

0 Members and 1 Guest are viewing this topic.

Offline ceeac

  • Devotee
  • *
  • Posts: 267
Fix for comile error when compiling with zstd
« on: March 07, 2020, 10:17:12 PM »
This patch fixes a compile error when building with zstd and a compiler that does not support C++11.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 10818
  • Languages: De,EN,JP
Re: Fix for comile error when compiling with zstd
« Reply #1 on: March 08, 2020, 01:43:32 AM »
This is C11; I though initialising thing like that was there for ages. Or was this only for arrays? Will change it.

EDIT: in in r8952, thank you
« Last Edit: March 08, 2020, 03:24:18 AM by prissi »