From: Christos Tsantilas Date: Sun, 6 Feb 2011 19:50:52 +0000 (+0200) Subject: SMP SNMP X-Git-Tag: take03^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3191ba78f3e6a096e52eaaaa8732955438d1bfd7;p=thirdparty%2Fsquid.git SMP SNMP In the case the SQUID_SNMP is disabled the MessageType enum list ends with a "," The gcc compiler does not have any problem with this but SunStudio return a parse error. --- diff --git a/src/ipc/Messages.h b/src/ipc/Messages.h index b358f1b981..2dafad1563 100644 --- a/src/ipc/Messages.h +++ b/src/ipc/Messages.h @@ -16,8 +16,9 @@ namespace Ipc /// message class identifier typedef enum { mtNone = 0, mtRegistration, mtSharedListenRequest, mtSharedListenResponse, - mtCacheMgrRequest, mtCacheMgrResponse, + mtCacheMgrRequest, mtCacheMgrResponse #if SQUID_SNMP + , mtSnmpRequest, mtSnmpResponse #endif } MessageType;