The magicolor device apparently does not support WAIT_FOR_BUTTON
[sane-backend-magicolor.git] / lib / getenv.c
blobc45065989c7eb47b2b25b0cc984e229e1d5fbb89
1 #include "../include/sane/config.h"
3 #ifndef HAVE_GETENV
5 char *
6 getenv(const char *name)
8 char *retval = 0;
9 #ifdef HAVE_OS2_H
10 if (0 != DosScanEnv (buf, &retval))
11 retval = 0;
12 #else
13 # error "Missing getenv() on this platform. Please implement."
14 #endif
15 return retval;
18 #endif /* !HAVE_GETENV */