src/ucx/ucx.h

changeset 259
2f5dea574a75
parent 253
e19825a1430a
child 270
3d80d425543b
     1.1 --- a/src/ucx/ucx.h	Sat Oct 28 11:25:27 2017 +0200
     1.2 +++ b/src/ucx/ucx.h	Sat Oct 28 15:43:51 2017 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  /*
     1.5   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     1.6   *
     1.7 - * Copyright 2017 Olaf Wintermann. All rights reserved.
     1.8 + * Copyright 2017 Mike Becker, Olaf Wintermann All rights reserved.
     1.9   *
    1.10   * Redistribution and use in source and binary forms, with or without
    1.11   * modification, are permitted provided that the following conditions are met:
    1.12 @@ -37,10 +37,13 @@
    1.13  #define	UCX_H
    1.14  
    1.15  /** Major UCX version as integer constant. */
    1.16 -#define UCX_VERSION_MAJOR   0
    1.17 +#define UCX_VERSION_MAJOR   1
    1.18  
    1.19  /** Minor UCX version as integer constant. */
    1.20 -#define UCX_VERSION_MINOR   14
    1.21 +#define UCX_VERSION_MINOR   0
    1.22 +
    1.23 +/** Version constant which ensures to increase monotonically. */
    1.24 +#define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
    1.25  
    1.26  #include <stdlib.h>
    1.27  #include <stdint.h>

mercurial