Skip to content

Commit

Permalink
Merge pull request #19 from willfurnass/add_missing_def_to_toolkit_h
Browse files Browse the repository at this point in the history
Add EN_LINKPATTERN to epanet2.h as hotfix to master
  • Loading branch information
samhatchett committed Jul 31, 2015
2 parents 87a8aaa + b245f4a commit 350d32c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ docdir = $(datarootdir)/doc/epanet

# Compiler and flags
CC = gcc
CFLAGS = -g -O3 -fPIC
CFLAGS = -g -O3 -fPIC -std=c99
CPPFLAGS = -I $(epanetincludedir)
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm

Expand Down
2 changes: 1 addition & 1 deletion build/Linux/Makefile_Rev
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ docdir = $(datarootdir)/doc/epanet

# Compiler and flags
CC = gcc
CFLAGS = -g -O3 -fPIC
CFLAGS = -g -O3 -fPIC -std=c99
CPPFLAGS = -I $(epanetincludedir)
LDFLAGS = -L . -Wl,-rpath,$(libdir) -lm

Expand Down
3 changes: 2 additions & 1 deletion include/epanet2.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
#define EN_SETTING 12
#define EN_ENERGY 13
#define EN_LINKQUAL 14 /* TNT */
#define EN_LINKPATTERN 15

#define EN_DURATION 0 /* Time parameters */
#define EN_HYDSTEP 1
Expand Down Expand Up @@ -258,4 +259,4 @@ extern "C" {
}
#endif

#endif //TOOLKIT_H
#endif //TOOLKIT_H

0 comments on commit 350d32c

Please sign in to comment.