/*
- * Copyright 2013 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#ifndef FOLLY_PACKEDSYNCPTR_H_
#define FOLLY_PACKEDSYNCPTR_H_
-#ifndef __x86_64__
-# error "PackedSyncPtr is x64-specific code."
+#include <folly/Portability.h>
+
+#if !FOLLY_X64 && !FOLLY_PPC64
+# error "PackedSyncPtr is x64 and ppc64 specific code."
#endif
/*
* @author Jordan DeLong <delong.j@fb.com>
*/
-#include "folly/SmallLocks.h"
+#include <folly/SmallLocks.h>
#include <type_traits>
#include <glog/logging.h>
}
#endif
-