diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-31 23:14:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-31 23:20:59 +0300 |
commit | 9b06b6b56522f23eb3752d3a1e099c75ba130fc9 (patch) | |
tree | 927d237f5a4ee212d0f407e891ff556f36358bc6 /src/net/protocolindefine.h | |
parent | 1dfc22f53967ad7e39d42ba8aabe0afa7445476e (diff) | |
download | mv-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.gz mv-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.bz2 mv-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.tar.xz mv-9b06b6b56522f23eb3752d3a1e099c75ba130fc9.zip |
Add version field in each receive packet define.
Diffstat (limited to 'src/net/protocolindefine.h')
-rw-r--r-- | src/net/protocolindefine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/protocolindefine.h b/src/net/protocolindefine.h index 521b8bb38..13a6a3e02 100644 --- a/src/net/protocolindefine.h +++ b/src/net/protocolindefine.h @@ -21,6 +21,6 @@ #ifndef NET_PROTOCOLINDEFINE_H #define NET_PROTOCOLINDEFINE_H -#define packet(name, id, sz, func) static const int name = id +#define packet(name, id, sz, func, ver) static const int name = id #endif // NET_PROTOCOLINDEFINE_H |