commit | 7ed823264845f7c2f14d3278405e593ddfdc50f6 | [log] [tgz] |
---|---|---|
author | Bob Moore <robert.moore@intel.com> | Fri Apr 04 12:37:19 2014 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sun Apr 20 22:59:37 2014 +0200 |
tree | b587bc9dc38c2d0b152eb585e5abd9158836959b | |
parent | 6085bb18afa431823a6287a0aa4d13641acb658d [diff] |
ACPICA: gcc-specific: Fix possible issue with the strchr function. Some versions of gcc implement strchr via a macro, which either contains bugs or can provoke a bug in the compiler. This change fixes a possible compile-time error when using this function. The problem is usually seen when compiling the getopt.c module. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>