diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-19 19:49:25 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-19 19:49:25 +0000 |
commit | 9e5034832620fabdc51f3b8ad62e7e8c1770e619 (patch) | |
tree | 7604362c51c55695e324423fa9e77f3f3bc005b6 /configure.ac | |
parent | 906f92d601908ee734905df371e450b45df75f8a (diff) |
Blocked revisions 165991 via svnmerge
........
r165991 | jpeeler | 2008-12-19 13:48:00 -0600 (Fri, 19 Dec 2008) | 15 lines
(closes issue #13480)
Reported by: tzafrir
Replace a bunch of if defined checks for Zaptel/DAHDI through several new defines in dahdi_compat.h. This removes a lot of code duplication. Example from bug:
#ifdef HAVE_ZAPTEL
fd = open("/dev/zap/pseudo", O_RDWR);
#else
fd = open("/dev/dahdi/pseudo", O_RDWR);
#endif
is replaced with:
fd = open(DAHDI_FILE_PSEUDO, O_RDRW);
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@165992 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions