~mathiaz/+junk/ceph-new-pkg-review

« back to all changes in this revision

Viewing changes to src/common/arch.h

  • Committer: Mathias Gug
  • Date: 2010-07-29 03:10:42 UTC
  • Revision ID: mathias.gug@canonical.com-20100729031042-n9n8kky962qb4onb
Import ceph_0.21-0ubuntu1 from https://launchpad.net/~clint-fewbar/+archive/ceph/+packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CEPH_ARCH_H
 
2
#define CEPH_ARCH_H
 
3
 
 
4
static const char *get_arch()
 
5
{
 
6
#if defined(__i386__)
 
7
  return "i386";
 
8
#elif defined(__x86_64__)
 
9
  return "x86-64";
 
10
#else
 
11
    return "unknown";
 
12
#endif
 
13
}
 
14
 
 
15
#endif