Compilation error on Windows

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.2.24rc1
    • Component/s: Agent (G)
    • None
    • Sprint 40, Sprint 41
    • 0.25

      Unable to compile on Windows.

      ..\..\..\src\libs\zbxsysinfo\common\system.c(71): error C2065: 'timezone': undeclared identifier
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.14.26428\bin\HostX64\x64\cl.exe"' : return code '0x2'
      

      Variable timezone which is used in function SYSTEM_LOCALTIME() is no longer declared in file time.h on MS Visual Studio 2017.

            Assignee:
            Michael Veksler
            Reporter:
            Viktors Tjarve
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: