PageRenderTime 32ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/mordor/iomanager.h

http://github.com/mozy/mordor
C Header | 17 lines | 13 code | 3 blank | 1 comment | 0 complexity | 454258c04e1da3fd3422f431babae92c MD5 | raw file
Possible License(s): BSD-3-Clause
  1. #ifndef __MORDOR_IOMANAGER_H__
  2. #define __MORDOR_IOMANAGER_H__
  3. // Copyright (c) 2009 - Mozy, Inc.
  4. #include "version.h"
  5. #ifdef WINDOWS
  6. #include "iomanager_iocp.h"
  7. #elif defined(LINUX)
  8. #include "iomanager_epoll.h"
  9. #elif defined(BSD)
  10. #include "iomanager_kqueue.h"
  11. #else
  12. #error Unsupported Platform
  13. #endif
  14. #endif