Commit 3cf171a2 authored by mercury233's avatar mercury233

fix nil

parent 316efdd8
project "event"
kind "StaticLib"
local EVENT_VERSION = io.readfile("configure"):match("NUMERIC_VERSION%s+0x(%x+)")
local EVENT_VERSION = (io.readfile("configure") or ""):match("NUMERIC_VERSION%s+0x(%x+)")
if not EVENT_VERSION then
print("Warning: Could not determine libevent version from the configure file, assuming 2.1.12.")
EVENT_VERSION = "02010c00" -- 2.1.12
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment