diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2006-01-20 22:41:11 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2006-01-20 22:41:11 +0000 |
commit | 6bc69cf7808071a8c805bf3f419ba062bec0f531 (patch) | |
tree | 486e6ecc940cba47662742d059af0e32f1b6edaa /libgphoto2_port/serial | |
parent | 26bec2ecae30a5f3ddb7a88a343ca9cb0adc9c63 (diff) | |
download | libgphoto2-6bc69cf7808071a8c805bf3f419ba062bec0f531.tar.gz |
serial devices are called slightly different with FreeBSD >= 6.0
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8507 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/serial')
-rw-r--r-- | libgphoto2_port/serial/unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgphoto2_port/serial/unix.c b/libgphoto2_port/serial/unix.c index 7007cbd0b..515cb9a25 100644 --- a/libgphoto2_port/serial/unix.c +++ b/libgphoto2_port/serial/unix.c @@ -108,7 +108,11 @@ /* FreeBSD */ #ifdef __FreeBSD__ +#if __FreeBSD_version < 600000 #define GP_PORT_SERIAL_PREFIX "/dev/cuaa%x" +#else +#define GP_PORT_SERIAL_PREFIX "/dev/cuad%x" +#endif #define GP_PORT_SERIAL_RANGE_LOW 0 #define GP_PORT_SERIAL_RANGE_HIGH (0xf) #endif |