/* -*-c-*-
*
- * $Id: mdwopt.c,v 1.1 1997/07/21 13:47:47 mdw Exp $
+ * $Id: mdwopt.c,v 1.2 1997/08/04 10:24:23 mdw Exp $
*
* Options parsing, similar to GNU @getopt_long@
*
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with `mdwopt'; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * along with `mdwopt'; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*----- Revision history --------------------------------------------------*
*
* $Log: mdwopt.c,v $
- * Revision 1.1 1997/07/21 13:47:47 mdw
- * Initial revision
+ * Revision 1.2 1997/08/04 10:24:23 mdw
+ * Sources placed under CVS control.
+ *
+ * Revision 1.4 1997/07/29 21:11:35 mdw
+ * Reformatted. Fixed buffer overflow when dealing with environment
+ * variables. Included NT in list of daft operating systems with `\' as a
+ * path separator. Fixed address of the FSF.
*
* Revision 1.3 1997/02/26 00:41:10 mdw
* Added GPL notice to the top. Slight formatting changes.
#if defined(__riscos)
# define PATHSEP '.'
-#elif defined(__OS2__) || defined(__MSDOS__)
+#elif defined(__OS2__) || defined(__MSDOS__) || defined(__WINNT__)
# define PATHSEP '\\'
#else /* Assume a sane filing system */
# define PATHSEP '/'