os2.hxx (8b851043) os2.hxx (27ead02a)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 45 unchanged lines hidden (view full) ---

54String ToLowerImpl( const String& );
55
56#define DEFSTYLE FSYS_STYLE_OS2
57#define MKDIR( p ) mkdir( (unsigned char*) p )
58#define CMP_LOWER(s) ( s.ToLowerAscii() )
59
60#define START_DRV 'a'
61
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 45 unchanged lines hidden (view full) ---

54String ToLowerImpl( const String& );
55
56#define DEFSTYLE FSYS_STYLE_OS2
57#define MKDIR( p ) mkdir( (unsigned char*) p )
58#define CMP_LOWER(s) ( s.ToLowerAscii() )
59
60#define START_DRV 'a'
61
62inline BOOL DRIVE_EXISTS( char c )
62inline PM_BOOL DRIVE_EXISTS( char c )
63{
64 ULONG nCur, nMap;
65 APIRET nRet = DosQueryCurrentDisk( &nCur, &nMap );
66 return ( nMap & 1 << (c - 'a') ) != 0;
67}
68
69#include <time.h>
70//#include <datetime.hxx>

--- 19 unchanged lines hidden ---
63{
64 ULONG nCur, nMap;
65 APIRET nRet = DosQueryCurrentDisk( &nCur, &nMap );
66 return ( nMap & 1 << (c - 'a') ) != 0;
67}
68
69#include <time.h>
70//#include <datetime.hxx>

--- 19 unchanged lines hidden ---